From 48f98a6e624afeddde38dfcd9864254aa288d26f Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 9 Jan 2019 06:58:48 +0000 Subject: - Bugfix Fälligkeitsdarstellung auf Rechnung/Rechnungskorrektur MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7244 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_rechnungen/accounting_pdf.phtml | 9 ++++++++- views/mods/mod_rechnungen/invoice_pdf.phtml | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/views/mods/mod_rechnungen/accounting_pdf.phtml b/views/mods/mod_rechnungen/accounting_pdf.phtml index b62c6ca..19ce05c 100644 --- a/views/mods/mod_rechnungen/accounting_pdf.phtml +++ b/views/mods/mod_rechnungen/accounting_pdf.phtml @@ -803,8 +803,15 @@ $offset += 5; $pdf->Text($prod_left + 100, $prod_top + $offset, __("SUMME", "wpsg")); $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + + /* Endbetrag wird fett ausgegeben */ + $pdf->setFont('Arial', 'B', '9'); $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); - + $pdf->setFont('Arial', '', '9'); + + /* Endbetrag wird normal ausgegeben */ + //$pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + if ($this->get_option('wpsg_kleinunternehmer') == '1') { diff --git a/views/mods/mod_rechnungen/invoice_pdf.phtml b/views/mods/mod_rechnungen/invoice_pdf.phtml index 06c6938..1e02423 100644 --- a/views/mods/mod_rechnungen/invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/invoice_pdf.phtml @@ -121,7 +121,7 @@ { $pdf->Text($rdata_left + 35, $rdata_top, __("Fällig am", "wpsg")); - $pdf->Text($rdata_left + 35, $rdata_top + 6, (int)$shop->view['faelligkeitdatum']); + $pdf->Text($rdata_left + 35, $rdata_top + 6, $shop->view['faelligkeitdatum']); } @@ -816,7 +816,14 @@ $offset += 5; $pdf->Text($prod_left + 100, $prod_top + $offset, __("SUMME", "wpsg")); $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + + /* Endbetrag wird fett ausgegeben */ + $pdf->setFont('Arial', 'B', '9'); $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + $pdf->setFont('Arial', '', '9'); + + /* Endbetrag wird normal ausgegeben */ + //$pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); if ($this->get_option('wpsg_kleinunternehmer') == '1') { -- cgit v1.2.3