summaryrefslogtreecommitdiff
path: root/views/mods/mod_rechnungen/accounting_pdf.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-11-22 09:14:14 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-11-22 09:14:14 +0000
commit02c3fbe87162b4126b80c7d6cf850bc3c3cb8675 (patch)
tree2547826795ffdb4b5eab023bd9433ec45f4acc9f /views/mods/mod_rechnungen/accounting_pdf.phtml
parentc1fedc94ab5c0bb7cb9a0a4c3656682f0f445374 (diff)
- Verhalten der Artikelnummer in Rechnung/Rechnungskorrektur analog Lieferschein
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6751 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_rechnungen/accounting_pdf.phtml')
-rw-r--r--views/mods/mod_rechnungen/accounting_pdf.phtml10
1 files changed, 9 insertions, 1 deletions
diff --git a/views/mods/mod_rechnungen/accounting_pdf.phtml b/views/mods/mod_rechnungen/accounting_pdf.phtml
index 41c9b27..9062678 100644
--- a/views/mods/mod_rechnungen/accounting_pdf.phtml
+++ b/views/mods/mod_rechnungen/accounting_pdf.phtml
@@ -196,7 +196,7 @@
$pdf->SetFont('Arial', '', 9);
$pdf->setXY($prod_left, $prod_top + $offset);
- if ($this->get_option('wpsg_mod_rechnungen_showanr') == '1')
+ if ($this->get_option('wpsg_mod_rechnungen_anr') == '1')
{
$pdf->Cell(10, 8, $p['anr'], 0, 0, 'C');
@@ -257,6 +257,14 @@
}
+ if ($this->get_option('wpsg_mod_rechnungen_anr') === '2')
+ {
+
+ $anr = $this->getProductAnr($p['productkey']);
+ $produkt_text .= "\r\n".wpsg_translate(__('Artikelnummer: #1#', 'wpsg'), $anr);
+
+ }
+
$produkt_text_cell_width = 102;
if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')
{