diff options
Diffstat (limited to 'views/mailtemplates/html/order.phtml')
| -rw-r--r-- | views/mailtemplates/html/order.phtml | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/views/mailtemplates/html/order.phtml b/views/mailtemplates/html/order.phtml index cb0f2de..b024ec8 100644 --- a/views/mailtemplates/html/order.phtml +++ b/views/mailtemplates/html/order.phtml @@ -1,5 +1,8 @@ <?php
-
+
+ /** @var wpsg_order $oOrder */
+ $oOrder = $this->view['oOrder'];
+
if ($this->getFrontendTaxView() === WPSG_BRUTTO) $display_brutto_netto = 'brutto';
else $display_brutto_netto = 'netto';
@@ -201,6 +204,30 @@ </tr>
<?php $this->callMods('mail_order_end', [&$this->view['basket']['arCalculation'], true]); ?>
</table>
+
+ <?php
+
+ $arCV = $oOrder->getCustomer()->getCustomerVariables();
+
+ if (wpsg_isSizedArray($arCV)) { ?>
+
+ <strong><?php echo __('Weitere Kundendaten', 'wpsg'); ?>:</strong><br />
+
+ <table>
+
+ <?php foreach ($arCV as $cv) { ?>
+ <tr>
+ <th><?php echo $cv['label']; ?></th>
+ <td><?php echo $cv['value']; ?></td>
+ </tr>
+ <?php } ?>
+
+ </table>
+
+ <?php }
+
+ ?>
+
</div>
<br />
\ No newline at end of file |
