summaryrefslogtreecommitdiff
path: root/views/mods/mod_rechnungen/multi_invoice_pdf.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_rechnungen/multi_invoice_pdf.phtml')
-rw-r--r--views/mods/mod_rechnungen/multi_invoice_pdf.phtml15
1 files changed, 11 insertions, 4 deletions
diff --git a/views/mods/mod_rechnungen/multi_invoice_pdf.phtml b/views/mods/mod_rechnungen/multi_invoice_pdf.phtml
index 26e430d..a7ced2e 100644
--- a/views/mods/mod_rechnungen/multi_invoice_pdf.phtml
+++ b/views/mods/mod_rechnungen/multi_invoice_pdf.phtml
@@ -193,7 +193,7 @@
$sum_multi_offset = 0;
$orders = $this->view['multi_data']['orders'];
- // moMwSt
+ // noMwSt
$bNoTax = false;
$bTaxCol = false;
@@ -284,9 +284,16 @@
}
- /* Wenn Detailname vorhanden, wird der Detailname auf Rechnung verwendet */
- $produkt_text = $this->getProductName($product_id, true);
-
+ if ($this->get_option('wpsg_rechnungen_pdetailname' == '1')) {
+
+ $produkt_text = $this->getProductName($product_id, true);
+
+ } else {
+
+ $produkt_text = $this->getProductName($product_id, false);
+
+ }
+
$produktBeschreibung = trim(strip_tags($oOrderProduct->getProduct()->getShortDescription()));
if ($this->isOtherLang()) {