summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarl <noreply@maennchen1.de>2022-08-25 09:32:40 +0000
committerkarl <noreply@maennchen1.de>2022-08-25 09:32:40 +0000
commit4de13134a5445496e1540b824f73d8c1fa2b3c3f (patch)
tree4cacb3a6d7382ba3ed3928e2f098e1b1844859b7
parentf730d7bd67e28969d6ac37ac8155323a7e4de068 (diff)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8088 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_rechnungen/multi_invoice_pdf.phtml8
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 {