From 4de13134a5445496e1540b824f73d8c1fa2b3c3f Mon Sep 17 00:00:00 2001 From: karl Date: Thu, 25 Aug 2022 09:32:40 +0000 Subject: git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8088 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_rechnungen/multi_invoice_pdf.phtml | 8 ++++---- 1 file 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 { -- cgit v1.2.3