summaryrefslogtreecommitdiff
path: root/views/order
diff options
context:
space:
mode:
Diffstat (limited to 'views/order')
-rw-r--r--views/order/backendEdit/editPayShipping.phtml8
-rw-r--r--views/order/view_customerdata.phtml4
2 files changed, 6 insertions, 6 deletions
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 @@
<?php echo wpsg_drawForm_Input('dialog_strasse', __('Straße', 'wpsg'), $this->view['data']['strasse']); ?>
- <?php if (($this->view['pflicht']['wpsg_showNr']??'') === '1') { ?>
+ <?php if (wpsg_getStr($this->view['pflicht']['wpsg_showNr']) === '1') { ?>
<?php echo wpsg_drawForm_Input('dialog_nr', __('Hausnummer', 'wpsg'), $this->view['data']['nr']); ?>
@@ -114,7 +114,7 @@
<?php } ?>
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
- <?php echo wpsg_hspc($this->view['data']['strasse']); ?> <?php echo wpsg_hspc(($this->view['data']['nr']??'')); ?><br />
+ <?php echo wpsg_hspc($this->view['data']['strasse']); ?> <?php echo wpsg_hspc(wpsg_getStr($this->view['data']['nr'])); ?><br />
<?php } ?>
<?php if ($this->view['pflicht']['plz'] != '2') { ?>