summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorkarl <noreply@maennchen1.de>2023-04-04 08:18:01 +0000
committerkarl <noreply@maennchen1.de>2023-04-04 08:18:01 +0000
commita38ad887405ca225dc107ba689ace16e91bf51a2 (patch)
treeeea76bcffaa79db7350874c3e77ddc08487c3bba /views
parent88a4e798fd9d808e23bed4279dc3fd100f68ebca (diff)
- Bugfix
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8266 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/order/product_table.phtml10
1 files changed, 8 insertions, 2 deletions
diff --git a/views/order/product_table.phtml b/views/order/product_table.phtml
index 3d6cee5..f0f7117 100644
--- a/views/order/product_table.phtml
+++ b/views/order/product_table.phtml
@@ -177,7 +177,10 @@
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Versandart ändern', 'wpsg'); ?>" onclick="return WPSG_BE_Pay_Ship.changeShippingPayment();"><span class="glyphicon glyphicon-pencil"></span></a>
</td>
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
- <td><?php echo $arTaxShort[$arCalculation['shipping'][0]['tax_key']]; ?></td>
+
+ <!-- <td><?php // echo $arTaxShort[$arCalculation['shipping'][0]['tax_key']]; ?></td> -->
+ <td><?php echo (($arCalculation['shipping'][0]['brutto'] === $arCalculation['shipping'][0]['netto'])?wpsg_ff(0, '%'):$arTaxShort[$arCalculation['shipping'][0]['tax_key']]); ?></td>
+
<?php } ?>
<td class="wpsg_cell_shipping_value wpsg_cell_gesamtpreis" colspan="2">
<span id="wpsg_cell_shipping_value"><?php echo wpsg_ff($price_shipping); ?> </span>
@@ -203,7 +206,10 @@
<a href="#" class="wpsg-glyphlink-td" title="<?php echo __('Zahlungsart ändern', 'wpsg'); ?>" onclick="return WPSG_BE_Pay_Ship.changeShippingPayment();"><span class="glyphicon glyphicon-pencil"></span></a>
</td>
<?php if (sizeof($arCalculation['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?>
- <td><?php echo $arTaxShort[$arCalculation['payment'][0]['tax_key']]; ?></td>
+
+ <!-- <td><?php // echo $arTaxShort[$arCalculation['payment'][0]['tax_key']]; ?></td> -->
+ <td><?php echo (($arCalculation['payment'][0]['brutto'] === $arCalculation['payment'][0]['netto'])?wpsg_ff(0, '%'):$arTaxShort[$arCalculation['payment'][0]['tax_key']]); ?></td>
+
<?php } ?>
<td class="wpsg_cell_payment_value wpsg_cell_gesamtpreis" colspan="2">
<span id="wpsg_cell_payment_value"><?php echo wpsg_ff($price_payment); ?> </span>