summaryrefslogtreecommitdiff
path: root/views/order
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2019-03-07 07:17:22 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2019-03-07 07:17:22 +0000
commit7ea9c7548f71c5e3b54527e2f8807caf9c243c22 (patch)
treed9c35c79b033aecc7bfd14440eb7590705d0f15d /views/order
parentb111237bc90b50f2725385fa2dd7e17bf97c37c3 (diff)
- Bestellung anlegen, damit die Platzhalter an PayPal ersetzt werden können / Gutscheine
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7349 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/order')
-rw-r--r--views/order/product_table.phtml14
1 files changed, 11 insertions, 3 deletions
diff --git a/views/order/product_table.phtml b/views/order/product_table.phtml
index abadd4a..88763c6 100644
--- a/views/order/product_table.phtml
+++ b/views/order/product_table.phtml
@@ -119,9 +119,17 @@
<td class="wpsg_cell_mwst"><?php echo $arTaxShort[$v['tax_key']]; ?></td>
<?php } ?>
<td>1</td>
- <td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis">
- <?php echo wpsg_ff($arCalculation['sum']['voucher_'.$display]); ?> <?php echo $this->get_option('wpsg_currency'); ?>
- </td>
+ <td class="wpsg_cell_mwst_value wpsg_cell_gesamtpreis"><?php
+
+ echo wpsg_ff($arCalculation['sum']['voucher_'.$display]); ?> <?php echo $this->get_option('wpsg_currency');
+
+ if (strpos($arCalculation['voucher'][0]['set'], '%') !== false) {
+
+ echo '<span class="procent_payship">('.wpsg_ff(wpsg_tf($arCalculation['voucher'][0]['set']), '%').')</span>';
+
+ }
+
+ ?></td>
</tr>
<?php } ?>