summaryrefslogtreecommitdiff
path: root/views/mods/mod_rechnungen
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-03-30 08:51:31 +0000
committerhartmut <noreply@maennchen1.de>2017-03-30 08:51:31 +0000
commit26a7ba1e072e7420618ab3c0d3e61027ae781fce (patch)
tree366657440cd6ec12f177742028fe355a67bc5b1e /views/mods/mod_rechnungen
parenta1a8ddb3a84a5edcc9e5a3ff0105c5ba553ac600 (diff)
Korrektur Varianten
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6165 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_rechnungen')
-rw-r--r--views/mods/mod_rechnungen/accounting_pdf.phtml4
-rw-r--r--views/mods/mod_rechnungen/invoice_pdf.phtml4
2 files changed, 4 insertions, 4 deletions
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);