style(shop): resolve merge conflict in license lookup placeholder
All checks were successful
Staging Build / build (push) Successful in 2m59s
All checks were successful
Staging Build / build (push) Successful in 2m59s
This commit is contained in:
@@ -25,12 +25,12 @@ import { lookupLicenseFromLicServer } from '@/lib/actions/licserver-config'
|
||||
|
||||
// ─── MOCK DATA (until real LicServer API is wired up) ───────────────────────
|
||||
const MOCK_LICENSES: Record<string, LicenseInfo> = {
|
||||
'995500-0005': {
|
||||
licenseKey: '995500-0005',
|
||||
'995502-00': {
|
||||
licenseKey: '995502-00',
|
||||
status: 'active',
|
||||
product: 'CASPOS DEMO',
|
||||
edition: 'Professional',
|
||||
version: '14.1.2',
|
||||
product: 'CASPOS',
|
||||
edition: 'GASTRO',
|
||||
version: '4.8.6',
|
||||
seats: 10,
|
||||
customer: 'Mustermann GmbH',
|
||||
contact: 'Max Mustermann',
|
||||
@@ -39,33 +39,33 @@ const MOCK_LICENSES: Record<string, LicenseInfo> = {
|
||||
maintenanceUntil: '2025-03-31',
|
||||
modules: ['CRM', 'ERP-Link', 'Mobile Client', 'Web Client'],
|
||||
},
|
||||
'CAS-2020-STD-00456': {
|
||||
licenseKey: 'CAS-2020-STD-00456',
|
||||
'995501-00': {
|
||||
licenseKey: '995501-00',
|
||||
status: 'expired',
|
||||
product: 'CAS genesisWorld Standard',
|
||||
product: 'CASPOS Handel',
|
||||
edition: 'Standard',
|
||||
version: '12.0.0',
|
||||
seats: 5,
|
||||
version: '3.12.1',
|
||||
seats: 1,
|
||||
customer: 'Beispiel AG',
|
||||
contact: 'Erika Muster',
|
||||
issuedAt: '2020-01-15',
|
||||
expiresAt: '2023-01-14',
|
||||
maintenanceUntil: '2022-01-14',
|
||||
modules: ['CRM'],
|
||||
issuedAt: '2016-03-14',
|
||||
expiresAt: '2017-03-14',
|
||||
maintenanceUntil: '2017-03-14',
|
||||
modules: ['CASPOS Handel'],
|
||||
},
|
||||
'CAS-2024-ENT-00789': {
|
||||
licenseKey: 'CAS-2024-ENT-00789',
|
||||
'995500-00': {
|
||||
licenseKey: '995500-00',
|
||||
status: 'active',
|
||||
product: 'CAS genesisWorld Enterprise',
|
||||
edition: 'Enterprise',
|
||||
version: '15.0.0',
|
||||
seats: 50,
|
||||
product: 'CASPOS Handel',
|
||||
edition: 'Standard',
|
||||
version: '4.11.2',
|
||||
seats: 2,
|
||||
customer: 'Tech Solutions GmbH & Co. KG',
|
||||
contact: 'Julia Schneider',
|
||||
issuedAt: '2024-01-01',
|
||||
expiresAt: '2026-12-31',
|
||||
maintenanceUntil: '2026-12-31',
|
||||
modules: ['CRM', 'ERP-Link', 'Mobile Client', 'Web Client', 'AI Assistant', 'Analytics Pro'],
|
||||
issuedAt: '2026-01-01',
|
||||
expiresAt: '2027-12-31',
|
||||
maintenanceUntil: '2027-12-31',
|
||||
modules: ['CASPOS Handel'],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -224,7 +224,7 @@ export function LicenseLookupPanel({ onLicenseResolved }: LicenseLookupPanelProp
|
||||
{/* ── Input + Search Button ──────────────────────────────── */}
|
||||
<div className="pt-4">
|
||||
<p className="text-xs text-slate-400 mb-2 leading-relaxed">
|
||||
Geben Sie Ihre bisherige CAS-Lizenznummer ein,
|
||||
Geben Sie Ihre bisherige CASPOS-Lizenznummer ein,
|
||||
um Lizenzinformationen automatisch abzurufen.
|
||||
</p>
|
||||
|
||||
@@ -278,16 +278,16 @@ export function LicenseLookupPanel({ onLicenseResolved }: LicenseLookupPanelProp
|
||||
Demo:
|
||||
<span
|
||||
className="font-mono text-violet-400/80 cursor-pointer hover:text-violet-400 transition-colors"
|
||||
onClick={() => setLicenseKey('995500-00')}
|
||||
onClick={() => setLicenseKey('995502-00')}
|
||||
>
|
||||
995500-00
|
||||
995502-00
|
||||
</span>
|
||||
{' · '}
|
||||
<span
|
||||
className="font-mono text-amber-400/80 cursor-pointer hover:text-amber-400 transition-colors"
|
||||
onClick={() => setLicenseKey('995500-01')}
|
||||
onClick={() => setLicenseKey('995501-00')}
|
||||
>
|
||||
995500-01
|
||||
995501-00 (abgelaufen)
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user