From e486bed6ea2a13e97cfc78a03f30c0999d92eb26 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Sat, 20 Jul 2019 15:17:02 +0000 Subject: - Backup Wertgutscheine git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7486 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/warenkorb/basket.phtml | 53 +++++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 20 deletions(-) (limited to 'views/warenkorb/basket.phtml') diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml index 0345a85..d3641f1 100644 --- a/views/warenkorb/basket.phtml +++ b/views/warenkorb/basket.phtml @@ -5,11 +5,15 @@ */ //wpsg_debug($this->view['basket']); + //wpsg_debug($this->view['basket']['arCalculation']); //wpsg_debug($_SESSION); //wpsg_debug($this->arShipping); //wpsg_debug(__('Deutschland', 'wpsg')); + if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto'; + else $display_brutto_netto = 'netto'; + ?>
@@ -140,29 +144,36 @@ callMods('basket_row_afterproducts', array(&$p, $i)); ?> - view['basket']['gs'])) { $bLine = true; ?> + + + + view['basket']['arCalculation']['voucher'])) { $bLine = true; ?> -
-
- - view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?> -
- view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> -
- -
view['basket']['arCalculation']['voucher'] as $gs) { ?> + +
+
+ + +
+ view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> +
+ +
get_option('wpsg_currency')); - echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); + if (strpos($gs['set'], '%') !== false) { + + echo '('.wpsg_ff(wpsg_tf($gs['set']), '%').')'; + + } + + ?>
- if (strpos($this->view['basket']['arCalculation']['voucher'][0]['set'], '%') !== false) { - - echo '('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['voucher'][0]['set']), '%').')'; - - } - - ?>
+
-
+ @@ -373,7 +384,9 @@
- + + callMod('wpsg_mod_gutschein', 'basket_row_end_coupon'); ?> + callMods('basket_row_end', array(&$this->view)); ?>
-- cgit v1.2.3