From 26a7ba1e072e7420618ab3c0d3e61027ae781fce Mon Sep 17 00:00:00 2001 From: hartmut Date: Thu, 30 Mar 2017 08:51:31 +0000 Subject: Korrektur Varianten git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6165 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_rechnungen/accounting_pdf.phtml | 4 ++-- views/mods/mod_rechnungen/invoice_pdf.phtml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'views/mods/mod_rechnungen') diff --git a/views/mods/mod_rechnungen/accounting_pdf.phtml b/views/mods/mod_rechnungen/accounting_pdf.phtml index ccd280c..41c9b27 100644 --- a/views/mods/mod_rechnungen/accounting_pdf.phtml +++ b/views/mods/mod_rechnungen/accounting_pdf.phtml @@ -347,10 +347,10 @@ /** * Variante ? */ - if (preg_match('/vp_(.*)/', $p['productkey'])) + if (preg_match('/pv_(.*)/', $p['productkey'])) { - $variInfo = $this->callMod('wpsg_mod_varianten', 'getVariantenInfoArray', array($p['productkey'])); + $variInfo = $this->callMod('wpsg_mod_productvariants', 'getVariantenInfoArray', array($p['productkey'])); $height += $pdf->wpsg_MultiCell($prod_left + 10, $prod_top + $height + $offset - 0.5, 5, wpsg_translate(__('Variante: #1#', 'wpsg'), $variInfo['key']), 0, 'L', 0, $produkt_text_cell_width); diff --git a/views/mods/mod_rechnungen/invoice_pdf.phtml b/views/mods/mod_rechnungen/invoice_pdf.phtml index 25cbfdb..b9a1b5d 100644 --- a/views/mods/mod_rechnungen/invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/invoice_pdf.phtml @@ -347,10 +347,10 @@ /** * Variante ? */ - if (preg_match('/vp_(.*)/', $p['productkey'])) + if (preg_match('/pv_(.*)/', $p['productkey'])) { - $variInfo = $this->callMod('wpsg_mod_varianten', 'getVariantenInfoArray', array($p['productkey'])); + $variInfo = $this->callMod('wpsg_mod_productvariants', 'getVariantenInfoArray', array($p['productkey'])); $height += $pdf->wpsg_MultiCell($prod_left + 10, $prod_top + $height + $offset - 0.5, 5, wpsg_translate(__('Variante: #1#', 'wpsg'), $variInfo['key']), 0, 'L', 0, $produkt_text_cell_width); -- cgit v1.2.3