Subversion Repositories wpShopGermany4

Rev

Rev 7588 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7486 daniel 1
<?php
2
 
3
	/**
7787 daniel 4
	 * User: Daschmi (https://daschmi.de)
7486 daniel 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">
7588 daniel 20
			<a class="wpsg_basket_removelink" href="<?php echo str_replace('&', '&amp;', $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'); ?>');"><img src="<?php echo WPSG_URL; ?>views/gfx/bin_x.png" alt="<?php echo __('Löschen', 'wpsg'); ?>" /></a>
7486 daniel 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>