From 1e1aa2131e87179f5cc4dd23fd9946d64df3a894 Mon Sep 17 00:00:00 2001 From: karl Date: Mon, 27 Feb 2023 13:51:30 +0000 Subject: git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8241 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_rechnungen/accounting_pdf.phtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/mods/mod_rechnungen/accounting_pdf.phtml b/views/mods/mod_rechnungen/accounting_pdf.phtml index 6b2c9e0..60930cc 100644 --- a/views/mods/mod_rechnungen/accounting_pdf.phtml +++ b/views/mods/mod_rechnungen/accounting_pdf.phtml @@ -617,7 +617,7 @@ $offset += 10; // Abstand zwischen Tabelle und Auswertung - if ( $this->get_option('wpsg_kleinunternehmer') || ($this->view['oCalculationOrder']->getTaxMode() === \wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS) ) + if ( ($this->get_option('wpsg_kleinunternehmer') == '1') || ($this->view['oCalculationOrder']->getTaxMode() === \wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS) ) { $pdf->Text($prod_left, $prod_top + $offset, __("Es ergibt sich folgender Gesamtbetrag", "wpsg").':'); @@ -772,14 +772,14 @@ $pdf->setFont('Arial', 'B', '9'); $pdf->Text($prod_left + 80, $prod_top + $offset, __("GESAMTSUMME", "wpsg")); $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); - + /* Endbetrag wird fett ausgegeben */ $pdf->Cell(37, 8, wpsg_ff($arCalculation['sum']['topay_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); $pdf->setFont('Arial', '', '9'); } - if (($this->get_option('wpsg_kleinunternehmer') == '1') || ($this->view['oCalculationOrder']->getTaxMode() === \wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS) ) + if ( ($this->get_option('wpsg_kleinunternehmer') == '1') || ($this->view['oCalculationOrder']->getTaxMode() === \wpsg\wpsg_calculation::TAXMODE_SMALLBUSINESS) ) { $offset += 3; -- cgit v1.2.3