diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2019-03-07 07:17:22 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2019-03-07 07:17:22 +0000 |
| commit | 7ea9c7548f71c5e3b54527e2f8807caf9c243c22 (patch) | |
| tree | d9c35c79b033aecc7bfd14440eb7590705d0f15d /views/warenkorb/overview.phtml | |
| parent | b111237bc90b50f2725385fa2dd7e17bf97c37c3 (diff) | |
- Bestellung anlegen, damit die Platzhalter an PayPal ersetzt werden können / Gutscheine
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7349 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/warenkorb/overview.phtml')
| -rw-r--r-- | views/warenkorb/overview.phtml | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml index a691164..4e5453c 100644 --- a/views/warenkorb/overview.phtml +++ b/views/warenkorb/overview.phtml @@ -269,25 +269,21 @@ <?php $bLine = false; ?>
<?php if (isset($this->view['basket']['gs'])) { $bLine = true; ?>
<div class="overview_sum_row">
- <div class="titlegs">
+ <div class="title">
<?php echo __('Gutschein', 'wpsg'); ?> <?php echo ($this->view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>
</div>
+ <div class="value"><?php
+
+ echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency'));
+
+ if (strpos($this->view['basket']['arCalculation']['voucher'][0]['set'], '%') !== false) {
+
+ echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($this->view['basket']['arCalculation']['voucher'][0]['set']), '%').')</span>';
+
+ }
+
+ ?></div>
</div>
- <div class="overview_sum_row">
- <div class="delgs"> </div>
- <div class="colgsl">1</div>
- <div class="colgsl">
- <?php if ($this->view['basket']['gs']['calc'] == 'p') { ?>
- <?php echo '-'.wpsg_ff($this->view['basket']['gs']['value'], '%'); ?>
- <?php } else { ?>
- <?php echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
- <?php } ?>
- </div>
- <?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
- <div class="colgsr"><?php echo __('anteilig', 'wpsg'); ?></div>
- <?php } ?>
- <div class="colgsr"><?php echo '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?></div>
- </div>
<?php } ?>
<div class="overview_sum_row">
|
