summaryrefslogtreecommitdiff
path: root/views/mods/mod_rechnungen
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2019-01-09 06:58:48 +0000
committerthomas <noreply@maennchen1.de>2019-01-09 06:58:48 +0000
commit48f98a6e624afeddde38dfcd9864254aa288d26f (patch)
tree07c2c18e494f80e15a326ca8e5478c14870a7cfd /views/mods/mod_rechnungen
parentf9630dbd8571bd2fe14819516f8891e113b6e0a2 (diff)
- Bugfix Fälligkeitsdarstellung auf Rechnung/Rechnungskorrektur
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7244 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_rechnungen')
-rw-r--r--views/mods/mod_rechnungen/accounting_pdf.phtml9
-rw-r--r--views/mods/mod_rechnungen/invoice_pdf.phtml9
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')
{