From 40f92c3b7c153b479a4fe5c772a06ff65a9091d3 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Mon, 24 Mar 2025 18:37:33 +0100 Subject: [PATCH] Preorder Billing Marketshare Price + RML layout tweaks --- .../default/PreorderBillingInvoice/Index.php | 4 +- .../PreorderBillingInvoice/PDF_HEADER.html | 18 +-- .../PreorderBillingInvoice/PDF_MAIN.php | 11 +- .../PreorderBilling/PreorderBilling.php | 16 ++- .../PreorderBillingController.php | 121 ++++++++++++++++-- .../PreorderBillingInvoice.php | 6 +- .../PreorderBillingInvoiceController.php | 25 +++- .../PreorderProductMarketshareDiscount.php | 1 + .../PreorderProductPrice.php | 9 ++ .../Preordercampaign/Preordercampaign.php | 11 ++ ...preorder_billing_invoice_add_head_text.php | 31 +++++ 11 files changed, 207 insertions(+), 46 deletions(-) create mode 100644 db/migrations/20250324141243_preorder_billing_invoice_add_head_text.php diff --git a/Layout/default/PreorderBillingInvoice/Index.php b/Layout/default/PreorderBillingInvoice/Index.php index e43ee8a14..d560922e9 100644 --- a/Layout/default/PreorderBillingInvoice/Index.php +++ b/Layout/default/PreorderBillingInvoice/Index.php @@ -46,7 +46,7 @@ $pagination_entity_name = "Rechnungen";
- + "/>
@@ -109,6 +109,7 @@ $pagination_entity_name = "Rechnungen"; Rechnungsdatum Kundennummer Rechnungsadresse + Text Netto Ust. Brutto @@ -136,6 +137,7 @@ $pagination_entity_name = "Rechnungen"; zip?> city?> country != "Österreich") ? "
".$invoice->country : ""?> + head_text?> € total, 2, ",", ".")?> € total_gross - $invoice->total, 2, ",", ".")?> € total_gross, 2, ",", ".")?> diff --git a/Layout/default/PreorderBillingInvoice/PDF_HEADER.html b/Layout/default/PreorderBillingInvoice/PDF_HEADER.html index 948914ec2..18e45f383 100644 --- a/Layout/default/PreorderBillingInvoice/PDF_HEADER.html +++ b/Layout/default/PreorderBillingInvoice/PDF_HEADER.html @@ -6,7 +6,7 @@