From a7ed80f6b95c3011db8154452aa79cf198688208 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Tue, 8 Feb 2022 20:12:33 +0100 Subject: [PATCH] added general data to billing info mail --- .../Emailtemplates/order/int_billing_info.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Layout/default/Emailtemplates/order/int_billing_info.php b/Layout/default/Emailtemplates/order/int_billing_info.php index 40f640a1f..8c1411c5a 100644 --- a/Layout/default/Emailtemplates/order/int_billing_info.php +++ b/Layout/default/Emailtemplates/order/int_billing_info.php @@ -17,10 +17,9 @@ $subject .= "[UPGRADE] "; } $subject .= $order->terminations[0]->building->network->name." - " - .(($order->terminations[0]->building->networksection_id) ? $order->terminations[0]->building->networksection->name : "")." - " - ."Verrechnung ab ".date("m", $billing_start)."/".date("Y", $billing_start)." - " + ."Verr. ab ".date("m", $billing_start)."/".date("Y", $billing_start)." - " .$order->owner->customer_number." - " - .str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName()))." - "; + .str_replace("\n", "", str_replace("\r\n", " ", $order->owner->getCompanyOrName())); $this->setReturnValue([ 'subject' => $subject, @@ -35,6 +34,16 @@ Achtung: UPGRADE +Netzgebiet: terminations[0]->building->network->name?> + +Bauabschnitt: terminations[0]->building->networksection_id) ? $order->terminations[0]->building->networksection->name : "")?> + +Kundennummer: owner->customer_number?> + +Kunde: owner->getCompanyOrName()))?> + +Verrechungsstart: / + Rechnungspositionen ====================