style(wizard): rename CAS references to CASPOS
All checks were successful
Staging Build / build (push) Successful in 2m49s

Replace all occurrences of 'CAS-Lizenz' and related strings
with 'CASPOS' across license-lookup-panel, step-billing,
and order-wizard. Update mock key to 995502-00 (GASTRO edition).
This commit is contained in:
DanielS
2026-07-22 11:07:30 +02:00
parent 3200784c51
commit fef1ccd0f5
3 changed files with 16 additions and 18 deletions

View File

@@ -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> = {
'CAS-2023-PRO-00123': {
licenseKey: 'CAS-2023-PRO-00123',
'995502-00': {
licenseKey: '995502-00',
status: 'active',
product: 'CAS genesisWorld Professional',
edition: 'Professional',
version: '14.1.2',
product: 'CASPOS',
edition: 'GASTRO',
version: '4.8.6',
seats: 10,
customer: 'Mustermann GmbH',
contact: 'Max Mustermann',
@@ -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>
@@ -242,7 +242,7 @@ export function LicenseLookupPanel({ onLicenseResolved }: LicenseLookupPanelProp
setNotFound(false)
}}
onKeyDown={handleKeyDown}
placeholder="z. B. CAS-2023-PRO-00123"
placeholder="z. B. 995502-00"
className="pl-9 pr-8 bg-white/5 border-white/10 text-white placeholder:text-slate-500
focus:border-violet-500/60 focus:ring-violet-500/20 rounded-xl text-sm h-10"
/>
@@ -278,9 +278,9 @@ export function LicenseLookupPanel({ onLicenseResolved }: LicenseLookupPanelProp
Demo:&nbsp;
<span
className="font-mono text-violet-400/80 cursor-pointer hover:text-violet-400 transition-colors"
onClick={() => setLicenseKey('CAS-2023-PRO-00123')}
onClick={() => setLicenseKey('995502-00')}
>
CAS-2023-PRO-00123
995502-00
</span>
{' · '}
<span