From 2758ac53815597cdc0013647b3643ac701f0fabb Mon Sep 17 00:00:00 2001 From: karl Date: Wed, 19 Apr 2023 09:13:20 +0000 Subject: - wpsg_debug entfernt - Produktfeatures Eingabefeld in Produkten hinzugefuegt -> bisher noch nicht mit im Template implementiert git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8274 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_rechnungen/invoice_pdf.phtml | 11 ++++++----- views/order/backendEdit/editPayShipping.phtml | 2 +- views/produkt/addedit_texte.phtml | 13 +++++++++++++ 3 files changed, 20 insertions(+), 6 deletions(-) (limited to 'views') diff --git a/views/mods/mod_rechnungen/invoice_pdf.phtml b/views/mods/mod_rechnungen/invoice_pdf.phtml index d11e6d6..6434ade 100644 --- a/views/mods/mod_rechnungen/invoice_pdf.phtml +++ b/views/mods/mod_rechnungen/invoice_pdf.phtml @@ -199,13 +199,13 @@ if ($bNoTax) { - $discount_value = $this->view['basket']['arCalculation']['sum']['discount_netto']; + $discount_value = abs($this->view['basket']['arCalculation']['sum']['discount_netto']); $shipping_cost = $this->view['basket']['arCalculation']['sum']['shipping_netto']; $payment_cost = $this->view['basket']['arCalculation']['sum']['payment_netto']; } else { - $discount_value = $this->view['basket']['arCalculation']['sum']['discount_brutto']; + $discount_value = abs($this->view['basket']['arCalculation']['sum']['discount_brutto']); $shipping_cost = $this->view['basket']['arCalculation']['sum']['shipping_brutto']; $payment_cost = $this->view['basket']['arCalculation']['sum']['payment_brutto']; @@ -451,7 +451,8 @@ } // produkte - if (wpsg_isSizedArray($this->view['basket']['arCalculation']['voucher'])) { + if (wpsg_isSizedArray($this->view['basket']['arCalculation']['voucher'])) + { foreach ($this->view['basket']['arCalculation']['voucher'] as $v) { @@ -491,7 +492,7 @@ } // Versandkosten - if ( ($shipping_cost != '') && ($shipping_cost != 0) ) + if ( ($shipping_cost != '') && ($shipping_cost != 0) ) { $pdf->SetFont('Arial', '', 9); @@ -742,7 +743,7 @@ // Rabatt if ($discount_value > 0) { - + $offset += 5; $pdf->Text($prod_left + 80, $prod_top + $offset, __("Rabatt", "wpsg")); $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); diff --git a/views/order/backendEdit/editPayShipping.phtml b/views/order/backendEdit/editPayShipping.phtml index 06dafc5..584f4b8 100644 --- a/views/order/backendEdit/editPayShipping.phtml +++ b/views/order/backendEdit/editPayShipping.phtml @@ -51,7 +51,7 @@ ?>
- + view['data']['type_shipping']); ?> diff --git a/views/produkt/addedit_texte.phtml b/views/produkt/addedit_texte.phtml index aa3b450..eff5984 100644 --- a/views/produkt/addedit_texte.phtml +++ b/views/produkt/addedit_texte.phtml @@ -55,6 +55,19 @@ ?> + +view['data']['productfeatures'], 'productfeatures'); + +?> + +