summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarl <noreply@maennchen1.de>2023-02-27 13:50:10 +0000
committerkarl <noreply@maennchen1.de>2023-02-27 13:50:10 +0000
commit2d1e39c8107352aaab2904d7615293e43fc020e7 (patch)
tree1d577110f79c5e13ab6a7b48734eff35666e5273
parent539520773683864d9d92cba1151ff65c6c455635 (diff)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8240 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_rechnungen/invoice_pdf.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/mods/mod_rechnungen/invoice_pdf.phtml b/views/mods/mod_rechnungen/invoice_pdf.phtml
index 5fe810b..fe2ee97 100644
--- a/views/mods/mod_rechnungen/invoice_pdf.phtml
+++ b/views/mods/mod_rechnungen/invoice_pdf.phtml
@@ -629,7 +629,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").':');
@@ -784,7 +784,7 @@
$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');