7486 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* User: Daschmi (daschmi@daschmi.de)
|
|
|
5 |
* Date: 20.07.2019
|
|
|
6 |
* Time: 15:47
|
|
|
7 |
*/
|
|
|
8 |
|
|
|
9 |
$arCalculation = &$this->view['basket']['arCalculation'];
|
|
|
10 |
|
|
|
11 |
if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
|
|
|
12 |
else $display_brutto_netto = 'netto';
|
|
|
13 |
|
|
|
14 |
?>
|
|
|
15 |
|
|
|
16 |
<?php foreach ($arCalculation['coupon'] as $gs) { ?>
|
|
|
17 |
|
|
|
18 |
<div class="basket_sum_row">
|
|
|
19 |
<div class="title">
|
|
|
20 |
<a class="wpsg_basket_removelink" href="<?php echo str_replace('&', '&', $this->getRemoveLinkURL('voucher_'.$gs['id'])); ?>" title="<?php echo __('Wertgutschein aus dem Warenkorb entfernen', 'wpsg'); ?>" onclick="return confirm('<?php echo __('Sind Sie sich sicher, dass sie den Wertgutschein aus dem Warenkorb entfernen möchten?', 'wpsg'); ?>');"><span class="glyphicon glyphicon-trash"></span></a>
|
|
|
21 |
<?php echo __('Wertgutschein', 'wpsg'); ?> <?php echo ((wpsg_isSizedString($gs['code']))?'('.$gs['code'].')':''); ?>
|
|
|
22 |
</div>
|
|
|
23 |
<?php if (sizeof($this->view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
|
|
|
24 |
<div class="colgsr"><?php echo __('anteilig', 'wpsg'); ?></div>
|
|
|
25 |
<?php } ?>
|
|
|
26 |
<div class="value"><?php
|
|
|
27 |
|
7490 |
daniel |
28 |
echo wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency'));
|
7486 |
daniel |
29 |
|
|
|
30 |
if (strpos($gs['set'], '%') !== false) {
|
|
|
31 |
|
|
|
32 |
echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($gs['set']), '%').')</span>';
|
|
|
33 |
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
?></div>
|
|
|
37 |
|
|
|
38 |
</div>
|
|
|
39 |
|
|
|
40 |
<?php } ?>
|
|
|
41 |
|
|
|
42 |
<div class="basket_sum_row">
|
|
|
43 |
<div class="title2">
|
|
|
44 |
<?php echo __('Zu zahlen', 'wpsg'); ?>:
|
|
|
45 |
</div>
|
|
|
46 |
<div class="sum">
|
|
|
47 |
<?php echo wpsg_ff($arCalculation['sum']['topay_brutto'], $this->get_option('wpsg_currency')); ?>
|
|
|
48 |
</div>
|
|
|
49 |
</div>
|
|
|
50 |
<div class="wpsg_spacer"></div>
|