Subversion Repositories wpShopGermany4

Rev

Rev 7173 | Rev 7305 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7173 Rev 7217
Line 2... Line 2...
2
 
2
 
3
    /**
3
    /**
4
     * Template für das Bearbeiten der Versand- und Zahlungsart im Backend
4
     * Template für das Bearbeiten der Versand- und Zahlungsart im Backend
5
     */
5
     */
6
 
6
 
-
 
7
    $arCalculation = $this->view['oCalculation']->getCalculationArray();
-
 
8
     
7
    $arShippingSelect = [];
9
    $arShippingSelect = [];
8
    foreach ($this->arShipping as $shipping_id => $shipping_data) {
10
    foreach ($this->arShipping as $shipping_id => $shipping_data) {
9
        
11
        
10
        $arShippingSelect[$shipping_id] = $shipping_data['name'];
12
        $arShippingSelect[$shipping_id] = $shipping_data['name'];
11
        
13
        
Line 30... Line 32...
30
    
32
    
31
    }
33
    }
32
    
34
    
33
    if ($this->getBackendTaxview() === WPSG_BRUTTO) {
35
    if ($this->getBackendTaxview() === WPSG_BRUTTO) {
34
        
36
        
35
        $price_shipping = wpsg_ff($this->view['data']['price_shipping_brutto'], $this->get_option('wpsg_currency'));
37
    	$price_shipping = wpsg_ff(($arCalculation['shipping'][0]['brutto_single']??0), $this->get_option('wpsg_currency'));
36
        $price_payment = wpsg_ff($this->view['data']['price_payment_brutto'], $this->get_option('wpsg_currency'));
38
		$price_payment = wpsg_ff(($arCalculation['payment'][0]['brutto_single']??0), $this->get_option('wpsg_currency'));
37
        
39
    	         
38
        $price_suffix = ' ('.__('Brutto', 'wpsg').')';
40
        $price_suffix = ' ('.__('Brutto', 'wpsg').')';
39
        
41
        
40
    } else {
42
    } else {
41
 
43
	
42
        $price_shipping = wpsg_ff($this->view['data']['price_shipping_brutto'], $this->get_option('wpsg_currency'));
44
		$price_shipping = wpsg_ff(($arCalculation['shipping'][0]['netto_single']??0), $this->get_option('wpsg_currency'));
43
        $price_payment = wpsg_ff($this->view['data']['price_payment_brutto'], $this->get_option('wpsg_currency'));
45
		$price_payment = wpsg_ff(($arCalculation['payment'][0]['netto_single']??0), $this->get_option('wpsg_currency'));
44
 
46
 
45
        $price_suffix = ' ('.__('Netto', 'wpsg').')';
47
        $price_suffix = ' ('.__('Netto', 'wpsg').')';
46
        
48
        
47
    }
49
    }
48
        
50