summaryrefslogtreecommitdiff
path: root/views/mods/mod_deliverynote/deliverynote_pdf.phtml
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2016-09-16 14:27:47 +0000
committerthomas <noreply@maennchen1.de>2016-09-16 14:27:47 +0000
commite9cd93a5ba05b1f2b1216aba0fba86ac5977beaf (patch)
treebbc193d424674c7963265fe7021d137412657dba /views/mods/mod_deliverynote/deliverynote_pdf.phtml
parentb334eb3aec38503bc240d83eb7b6022f638a0a1a (diff)
- Lieferzeitanzeige korigiert
- Produktattribute auf Rechnung und Lieferschein git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5765 0d5edaf7-2b12-4e95-93f4-047927463d4b
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']))