From 18acb288bcf1788c7d02cdfa2b94178a6d3fd0e0 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 21 Feb 2019 14:19:19 +0000 Subject: - PHP7 wieder raus :( - Export Profile Optimiert git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7305 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/order/backendEdit/editPayShipping.phtml | 8 ++++---- views/order/view_customerdata.phtml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'views/order') diff --git a/views/order/backendEdit/editPayShipping.phtml b/views/order/backendEdit/editPayShipping.phtml index a688f5f..04392cc 100644 --- a/views/order/backendEdit/editPayShipping.phtml +++ b/views/order/backendEdit/editPayShipping.phtml @@ -34,15 +34,15 @@ if ($this->getBackendTaxview() === WPSG_BRUTTO) { - $price_shipping = wpsg_ff(($arCalculation['shipping'][0]['brutto_single']??0), $this->get_option('wpsg_currency')); - $price_payment = wpsg_ff(($arCalculation['payment'][0]['brutto_single']??0), $this->get_option('wpsg_currency')); + $price_shipping = wpsg_ff(wpsg_getInt($arCalculation['shipping'][0]['brutto_single']), $this->get_option('wpsg_currency')); + $price_payment = wpsg_ff(wpsg_getInt($arCalculation['payment'][0]['brutto_single']), $this->get_option('wpsg_currency')); $price_suffix = ' ('.__('Brutto', 'wpsg').')'; } else { - $price_shipping = wpsg_ff(($arCalculation['shipping'][0]['netto_single']??0), $this->get_option('wpsg_currency')); - $price_payment = wpsg_ff(($arCalculation['payment'][0]['netto_single']??0), $this->get_option('wpsg_currency')); + $price_shipping = wpsg_ff(wpsg_getInt($arCalculation['shipping'][0]['netto_single']), $this->get_option('wpsg_currency')); + $price_payment = wpsg_ff(wpsg_getInt($arCalculation['payment'][0]['netto_single']), $this->get_option('wpsg_currency')); $price_suffix = ' ('.__('Netto', 'wpsg').')'; diff --git a/views/order/view_customerdata.phtml b/views/order/view_customerdata.phtml index 1326463..1fec340 100644 --- a/views/order/view_customerdata.phtml +++ b/views/order/view_customerdata.phtml @@ -53,7 +53,7 @@ view['data']['strasse']); ?> - view['pflicht']['wpsg_showNr']??'') === '1') { ?> + view['pflicht']['wpsg_showNr']) === '1') { ?> view['data']['nr']); ?> @@ -114,7 +114,7 @@ view['pflicht']['strasse'] != '2') { ?> - view['data']['strasse']); ?> view['data']['nr']??'')); ?>
+ view['data']['strasse']); ?> view['data']['nr'])); ?>
view['pflicht']['plz'] != '2') { ?> -- cgit v1.2.3