summaryrefslogtreecommitdiff
path: root/views/mods/mod_deliverynote/deliverynote_pdf.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_deliverynote/deliverynote_pdf.phtml')
-rw-r--r--views/mods/mod_deliverynote/deliverynote_pdf.phtml17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/mods/mod_deliverynote/deliverynote_pdf.phtml b/views/mods/mod_deliverynote/deliverynote_pdf.phtml
index 4bcf5c2..4905c8a 100644
--- a/views/mods/mod_deliverynote/deliverynote_pdf.phtml
+++ b/views/mods/mod_deliverynote/deliverynote_pdf.phtml
@@ -280,6 +280,23 @@
$height += $pBeschreibungHeight;
/**
+ * Produktattribute ?
+ */
+ if ($this->get_option('wpsg_rechnungen_produktattribute') == '1')
+ {
+
+ $attributeInfo = $this->callMod('wpsg_mod_produktattribute', 'getProductAttributeByProductId', array($this->getProduktId($p['id'])));
+
+ foreach ($attributeInfo as $pa)
+ {
+
+ $pa_text = $pa['name'].': '.$pa['value'];
+ $height += $pdf->wpsg_MultiCell($prod_left + 10, $prod_top + $height + $offset - 0.5, 5, $pa_text, 0, 'L', 0, $produkt_text_cell_width);
+
+ }
+ }
+
+ /**
* Variante ?
*/
if ($this->get_option("wpsg_mod_deliverynote_pdf_varianten") == "1" && preg_match('/vp_(.*)/', $p['productkey']))