Subversion Repositories wpShopGermany4

Rev

Rev 7787 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7490 daniel 1
<?php
2
 
3
	/**
4
	 * User: Daschmi (daschmi@daschmi.de)
5
	 * Date: 31.07.2019
6
	 * Time: 17:15
7
	 */
8
 
9
	namespace wpsg;
10
 
11
	$arCalculation = $this->view['basket']['arCalculation'];
12
 
13
	if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
14
	else $display_brutto_netto = 'netto';
15
 
16
	echo "\r\n";
17
 
18
	foreach ($arCalculation['coupon'] as $gs) {
19
 
20
		echo '     '.wpsg_pad_right(__('Wertgutschein', 'wpsg').' '.((wpsg_isSizedString($gs['code']))?'('.$gs['code'].')':''), 37);
21
		echo wpsg_pad_left(wpsg_ff($gs[$display_brutto_netto], $this->get_option('wpsg_currency')), 34)."\r\n";
22
 
23
	}
24
 
25
	echo '     '.wpsg_pad_right(__('Zu zahlen', 'wpsg'), 37);
26
	echo wpsg_pad_left(wpsg_ff($arCalculation['topay_brutto'], $this->get_option('wpsg_currency')), 34)."\r\n";
27