summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/order/index.phtml6
-rw-r--r--views/order/product_table.phtml2
2 files changed, 5 insertions, 3 deletions
diff --git a/views/order/index.phtml b/views/order/index.phtml
index 9d97268..1dc7aba 100644
--- a/views/order/index.phtml
+++ b/views/order/index.phtml
@@ -118,11 +118,11 @@
<?php echo wpsg_drawForm_Input('search_customer',__('Kunde (E-Mail oder Kundennummer)', 'wpsg'), @$_REQUEST['search_customer']); ?>
<br />
-
- <?php $arShippingSelect = []; foreach ($this->arShipping as $shipping_id => $shipping) $arShippingSelect[$shipping_id] = $shipping['name']; ?>
+
+ <?php $arShippingSelect = []; foreach ($this->arShipping as $shipping_id => $shipping) if (!isset($shipping['active']) || $shipping['active'] === '1') $arShippingSelect[$shipping_id] = $shipping['name'].' ('.wpsg_ff($shipping['price']).')'; ?>
<?php echo wpsg_drawForm_Select('add_shipping', __('Versandart', 'wpsg'), $arShippingSelect, @$_REQUEST['add_shipping']); ?>
- <?php $arPaymentSelect = []; foreach ($this->arPayment as $payment_id => $payment) $arPaymentSelect[$payment_id] = $payment['name']; ?>
+ <?php $arPaymentSelect = []; foreach ($this->arPayment as $payment_id => $payment) if (!isset($payment['active']) || $payment['active'] === '1') $arPaymentSelect[$payment_id] = $payment['name'].' ('.wpsg_ff($payment['price']).')'; ?>
<?php echo wpsg_drawForm_Select('add_payment', __('Zahlungsart', 'wpsg'), $arPaymentSelect, @$_REQUEST['add_payment']); ?>
<br /><?php echo wpsg_drawForm_SubmitButton(__('Bestellung anlegen')); ?><br />
diff --git a/views/order/product_table.phtml b/views/order/product_table.phtml
index 335d55b..fb99e21 100644
--- a/views/order/product_table.phtml
+++ b/views/order/product_table.phtml
@@ -291,4 +291,6 @@
</tbody>
</table>
+
+<?php wpsg_debug($arCalculation); ?>
\ No newline at end of file