From ec8777e2484f5d8f70d9674d012873f82f8dfc60 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Wed, 2 Jun 2021 05:35:45 +0000 Subject: - Bugfix: Weitere Kundendaten werden in Admin- und Kundenmail und Bestellverwaltung angezeigt git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7900 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mailtemplates/html/order.phtml | 29 ++++++++++++++++++++++++++++- views/mailtemplates/order.phtml | 18 ++++++++++++++++-- 2 files changed, 44 insertions(+), 3 deletions(-) (limited to 'views/mailtemplates') diff --git a/views/mailtemplates/html/order.phtml b/views/mailtemplates/html/order.phtml index cb0f2de..b024ec8 100644 --- a/views/mailtemplates/html/order.phtml +++ b/views/mailtemplates/html/order.phtml @@ -1,5 +1,8 @@ view['oOrder']; + if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto'; else $display_brutto_netto = 'netto'; @@ -201,6 +204,30 @@ callMods('mail_order_end', [&$this->view['basket']['arCalculation'], true]); ?> + + getCustomer()->getCustomerVariables(); + + if (wpsg_isSizedArray($arCV)) { ?> + + :
+ + + + + + + + + + +
+ + +
\ No newline at end of file diff --git a/views/mailtemplates/order.phtml b/views/mailtemplates/order.phtml index ae91725..40f5803 100644 --- a/views/mailtemplates/order.phtml +++ b/views/mailtemplates/order.phtml @@ -1,5 +1,8 @@ view['oOrder']; + if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto'; else $display_brutto_netto = 'netto'; @@ -121,4 +124,15 @@ view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 34); ?> callMods('mail_order_end', [&$this->view['basket']['arCalculation'], false]); ?> -callMods('mail_aftercalculation', array(&$this->view['order']['id'])); ?> \ No newline at end of file +callMods('mail_aftercalculation', array(&$this->view['order']['id'])); ?> +getCustomer()->getCustomerVariables(); + + if (wpsg_isSizedArray($arCV)) { ?> +: + + +: + + \ No newline at end of file -- cgit v1.2.3