547,34 → 547,16 |
else |
{ |
|
if (isset($this->view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true) |
{ |
|
$mwst = __('anteilig', 'wpsg'); |
|
} |
else |
{ |
|
$mwst = wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'); |
$mwst = wpsg_ff($this->view['basket']['shipping']['tax_value'], '%'); |
|
} |
if ($this->view['basket']['arCalculation']['shipping'][0]['tax_key'] === '0') { |
|
/* |
if ($this->arShipping[$this->view['data']['type_shipping']]['mwst'] == '0') |
{ |
|
$mwst = __('anteilig', 'wpsg'); |
$mwst = _('anteilig'); |
|
} |
else |
{ |
|
$mwst = wpsg_ff($this->arShipping[$this->view['data']['type_shipping']]['mwst_value'], '%'); |
} else { |
|
$mwst = wpsg_ff($this->view['basket']['arCalculation']['shipping'][0]['tax'], '%'); |
$mwst = wpsg_ff($this->view['basket']['arCalculation']['tax'][$this->view['basket']['arCalculation']['shipping'][0]['tax_key']]['tax_value'], '%'); |
|
} |
*/ |
|
} |
|
658,34 → 640,17 |
else |
{ |
|
if (isset($this->view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true) |
{ |
if ($this->view['basket']['arCalculation']['payment'][0]['tax_key'] === '0') { |
|
$mwst = __('anteilig', 'wpsg'); |
$mwst = _('anteilig'); |
|
} |
else |
{ |
} else { |
|
$mwst = wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%'); |
$mwst = wpsg_ff($this->view['basket']['arCalculation']['payment'][0]['tax'], '%'); |
$mwst = wpsg_ff($this->view['basket']['arCalculation']['tax'][$this->view['basket']['arCalculation']['payment'][0]['tax_key']]['tax_value'], '%'); |
|
} |
|
/* |
if ($this->arPayment[$this->view['data']['type_payment']]['mwst'] == '0') |
{ |
|
$mwst = __('anteilig', 'wpsg'); |
|
} |
else |
{ |
|
$mwst = wpsg_ff($this->arPayment[$this->view['data']['type_payment']]['mwst_value'], '%'); |
|
} |
*/ |
|
} |
|
$pdf->setXY($prod_left + 97, $prod_top + $offset); |