From 404f054e8eebdfdb07d9007587bead4c91ab36e2 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 23 Aug 2019 12:16:23 +0000 Subject: - Mehrfachanwendbare Gutscheine gehen wieder - Betrag Overview nicht doppelt negativ - git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7511 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_gutschein/index.phtml | 2 +- views/mods/mod_gutschein/overview_row_end_coupon.phtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'views') diff --git a/views/mods/mod_gutschein/index.phtml b/views/mods/mod_gutschein/index.phtml index fd47af7..e484d14 100644 --- a/views/mods/mod_gutschein/index.phtml +++ b/views/mods/mod_gutschein/index.phtml @@ -111,7 +111,7 @@ if ($oVoucher->calc_typ == 'w') echo wpsg_ff($oVoucher->getFreeAmount(), $this->get_option('wpsg_currency')); else if ($oVoucher->calc_typ == 'p') echo wpsg_ff($oVoucher->value, '%'); - if ($oVoucher->calc_typ == 'w' && $oVoucher->getUsedAmount() > 0) echo ' ('.wpsg_ff($oVoucher->value, $this->get_option('wpsg_currency')).')'; + if ($oVoucher->calc_typ == 'w' && $oVoucher->getUsedAmount() > 0 && !$oVoucher->isMultiUsable()) echo ' ('.wpsg_ff($oVoucher->value, $this->get_option('wpsg_currency')).')'; ?>
get_option('wpsg_currency')); + echo wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency')); if (strpos($gs['set'], '%') !== false) { -- cgit v1.2.3