Commit Graph

5 Commits

Author SHA1 Message Date
Arne Weiss 058937bd64 Add CSS hook, URL ref prefill, order prefill, and Widerrufsfrist display
- Fix CSS loading: register stylesheet via actionFrontControllerSetMedia
  hook instead of initContent() — guaranteed to fire before page render
- Upgrade script registers new hook on existing installations
- Feature 1: pre-fill order_reference from ?ref= URL parameter
- Feature 2: pre-fill customer name/email from logged-in account when
  navigating with ?ref= (already worked; now order ref is also pre-filled)
- Feature 4: compute Widerrufsfrist (order date +14 days) from DB and
  display on form (when ref in URL), confirm, and success pages
- Feature 3: EN mail templates were already present

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 08:52:53 +02:00
Arne Weiss 16fa6de209 Redesign withdrawal form: step indicator, refined CSS, print button
Add scoped CSS with Navy/warm-white palette, system serif headings, and
card-style radio inputs. Add 3-step progress indicator across all views.
Add print/PDF button on success page. Register CSS via registerStylesheet.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 08:39:34 +02:00
Arne Weiss b742a833d1 Fix admin controller l() error and redundant CI runs
Add l() wrapper to AdminSimpleWithdrawalController so PS8 routing does
not throw UndefinedMethodError; restrict build workflow to branch pushes
only so tag pushes no longer trigger a redundant build run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 08:26:10 +02:00
Arne Weiss d838a4dcc0 Fix admin controller: call parent::__construct() before fields_list translations
Build / build (push) Successful in 13s
2026-06-01 08:13:46 +02:00
Arne Weiss 0691fa7f22 Add simple_withdrawalbutton PrestaShop module 2026-06-01 08:08:31 +02:00