Subversion Repositories wpShopGermany4

Rev

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

Rev 7305 Rev 8065
Line 32... Line 32...
32
    
32
    
33
    }
33
    }
34
    
34
    
35
    if ($this->getBackendTaxview() === WPSG_BRUTTO) {
35
    if ($this->getBackendTaxview() === WPSG_BRUTTO) {
36
        
36
        
37
    	$price_shipping = wpsg_ff(wpsg_getInt($arCalculation['shipping'][0]['brutto_single']), $this->get_option('wpsg_currency'));
37
    	$price_shipping = wpsg_ff($arCalculation['shipping'][0]['brutto_calculated_single']??0, $this->get_option('wpsg_currency'));
38
		$price_payment = wpsg_ff(wpsg_getInt($arCalculation['payment'][0]['brutto_single']), $this->get_option('wpsg_currency'));
38
		$price_payment = wpsg_ff($arCalculation['payment'][0]['brutto_single_calculated']??0, $this->get_option('wpsg_currency'));
39
    	         
39
    	         
40
        $price_suffix = ' ('.__('Brutto', 'wpsg').')';
40
        $price_suffix = ' ('.__('Brutto', 'wpsg').')';
41
        
41
        
42
    } else {
42
    } else {
43
	
43
	
44
		$price_shipping = wpsg_ff(wpsg_getInt($arCalculation['shipping'][0]['netto_single']), $this->get_option('wpsg_currency'));
44
		$price_shipping = wpsg_ff($arCalculation['shipping'][0]['netto_calculated_single']??0, $this->get_option('wpsg_currency'));
45
		$price_payment = wpsg_ff(wpsg_getInt($arCalculation['payment'][0]['netto_single']), $this->get_option('wpsg_currency'));
45
		$price_payment = wpsg_ff($arCalculation['payment'][0]['netto_calculated_single']??0, $this->get_option('wpsg_currency'));
46
 
46
 
47
        $price_suffix = ' ('.__('Netto', 'wpsg').')';
47
        $price_suffix = ' ('.__('Netto', 'wpsg').')';
48
        
48
        
49
    }
49
    }
50
        
50
        
51
?>
51
?>
52
 
52
 
53
<div id="editPayShipping">
53
<div id="editPayShipping">
54
    
-
 
-
 
54
    <?php wpsg_debug($price_shipping); ?>
55
    <?php echo wpsg_drawForm_Select('edit_shipping_type', __('Versandart', 'wpsg'), $arShippingSelect,$this->view['data']['type_shipping']); ?>
55
    <?php echo wpsg_drawForm_Select('edit_shipping_type', __('Versandart', 'wpsg'), $arShippingSelect,$this->view['data']['type_shipping']); ?>
56
    <?php echo wpsg_drawForm_Input('edit_shipping_price', __('Kosten', 'wpsg').$price_suffix, $price_shipping);  ?> 
56
    <?php echo wpsg_drawForm_Input('edit_shipping_price', __('Kosten', 'wpsg').$price_suffix, $price_shipping);  ?> 
57
    
57
    
58
    <br />
58
    <br />
59
 
59