diff options
| -rw-r--r-- | views/mods/mod_rechnungen/multi_invoice_pdf.phtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/views/mods/mod_rechnungen/multi_invoice_pdf.phtml b/views/mods/mod_rechnungen/multi_invoice_pdf.phtml index 30aff4c..d9aaedb 100644 --- a/views/mods/mod_rechnungen/multi_invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/multi_invoice_pdf.phtml @@ -192,7 +192,7 @@ // noMwSt
$head_data = array_values($this->view['multi_data']['order_data'])[0];
- if ($this->view['kunde']['ustidnr'] != "" && $head_data['oCalculation']->getTaxMode() === '3' && $head_data['oOrder']->isInnerEu()) {
+ if ( ($head_data['oCalculation']->getTaxMode() === wpsg_calculation::TAXMODE_B2B) && ($head_data['oOrder']->isInnerEu()) ) {
$bNoTax = true;
} else {
$bNoTax = false;
@@ -533,7 +533,7 @@ if ($bNoTax) {
- $mwst = wpsg_ff('0.00', '%');
+ $mwst = wpsg_ff(0.00, '%');
} else {
@@ -584,7 +584,7 @@ if ($bNoTax) {
- $mwst = wpsg_ff('0.00', '%');
+ $mwst = wpsg_ff(0.00, '%');
} else {
@@ -689,7 +689,7 @@ if ($bNoTax) {
- $mwst = wpsg_ff('0.00', '%');
+ $mwst = wpsg_ff(0.00, '%');
} else {
|
