Abo Einmalprodukte: Phasen 5-7, konfigurierbare Sperrfristen, Lokalisierung & Dashboard

Rechnung/Lieferschein:
- PDF-Gruppierung Abo- vs. Einmal-Artikel (is_abo_addon), rueckwaertskompatibel
- Vorschau-Command sales:preview-invoice (umgeht Test-System-Gate, ohne Rechnungsnummer)

Reminder-Mail (vorbereitet, Cron inaktiv):
- MailAboExecutionReminder + Template, abo:send-execution-reminder, Spalte onetime_reminder_sent_for
- Berater -> Sales Center, Kunde -> Portal; Vorschau abo:preview-reminder
- Datum-Fix: formatDateDB() statt formatDate() (ICU-Format)

Sperrfristen konfigurierbar (Admin-Settings):
- abo-lock-days-change (Liefertag + Abo-Produkte), abo-lock-days-pause-cancel
- Meldungen mit :lock-Platzhalter; Pausieren/Kuendigen vom Change-Lock entkoppelt
- Abo-Produkt-Aenderungen im Lock-Fenster server- + clientseitig eingefroren
- Selbstbedienung: Add-only/Lock nach $view (kein Admin-Bypass), Stale-Cache-Fix beim Mengen-Update

Dashboard:
- Einmalprodukte-Card + Team-Abo-KPI-Card, News-Card responsiv (col-xl-6)

Lokalisierung:
- Sprachdateien en/es/fr vollstaendig mit de synchronisiert (inkl. marketingplan/portal)
- LocalizationSyncTest sichert Key-Gleichheit ab

Tests: AboOneTimeInvoiceGrouping, AboExecutionReminder, AboLockDaysSetting,
AboOnetimeDashboardAndMail, PreviewInvoiceCommand, TeamAboOverview + erweiterte View-Tests

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kevin 2026-06-23 13:38:11 +00:00
parent 9f996a7f1b
commit 65b867f8ee
96 changed files with 4154 additions and 1189 deletions

View file

@ -122,4 +122,14 @@ return [
'dhl_tracking_order_ref' => 'Order number: :order',
'dhl_tracking_button' => 'Track shipment with DHL',
'dhl_tracking_info' => 'You can check the current status of your shipment at any time via the button above at DHL.',
// Subscription one-time products: reminder before execution
'abo_reminder_subject' => 'Your next subscription delivery is coming up – add products now',
'abo_reminder_title' => 'Your next subscription delivery is coming up',
'abo_reminder_intro' => '{1}Your next subscription delivery will be processed in :days day (on :date).|[2,*]Your next subscription delivery will be processed in :days days (on :date).',
'abo_reminder_onetime_hint' => 'You can now add further products from our range to this delivery on a one-time basis – without additional shipping costs and without a second delivery.',
'abo_reminder_coverage_hint' => 'Please make sure your stored payment method covers the total amount (subscription + additional products).',
'abo_reminder_sustainability_hint' => 'Together we save packaging and a second transport route – good for the environment.',
'abo_reminder_button_consultant' => 'Add products to the delivery',
'abo_reminder_button_customer' => 'Add products to the delivery',
];