From 830e686dbe49497b86437576cefdc384402cef84 Mon Sep 17 00:00:00 2001 From: Roger Rehnelt Date: Sun, 27 Sep 2026 11:57:25 +0200 Subject: Produktvariablen: Bestellansicht nur zugeordnete, Lieferschein druckt sie wieder Co-Authored-By: Claude Opus 5.5 --- views/mods/mod_deliverynote/deliverynote_pdf.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/mods/mod_deliverynote/deliverynote_pdf.phtml b/views/mods/mod_deliverynote/deliverynote_pdf.phtml index 58328f9..e08f0c8 100644 --- a/views/mods/mod_deliverynote/deliverynote_pdf.phtml +++ b/views/mods/mod_deliverynote/deliverynote_pdf.phtml @@ -253,7 +253,7 @@ if ($this->hasMod('wpsg_mod_productvars') && $this->get_option("wpsg_mod_rechnungen_showpv") == "1") { - $arPV = $this->callMod('wpsg_mod_productvars', 'getAllProductVarValues', array($this->view['data']['id'], $p['productkey'])); + $arPV = $this->callMod('wpsg_mod_productvars', 'getAllProductVarValues', array($this->view['order']['id'], $p['product_index'])); if (wpsg_isSizedArray($arPV)) { -- cgit v1.2.3