summaryrefslogtreecommitdiff
path: root/views/order/view_customerdata.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/order/view_customerdata.phtml')
-rw-r--r--views/order/view_customerdata.phtml19
1 files changed, 17 insertions, 2 deletions
diff --git a/views/order/view_customerdata.phtml b/views/order/view_customerdata.phtml
index 66d7d76..c76ec1a 100644
--- a/views/order/view_customerdata.phtml
+++ b/views/order/view_customerdata.phtml
@@ -6,6 +6,9 @@
* Time: 10:40
*/
+ /** @var wpsg_customer $Customer */
+ $Customer = $this->view['oCustomer'];
+
?>
<div class="modal fade" tabindex="-1" role="dialog" id="wpsg_customer_edit">
@@ -169,7 +172,7 @@
<?php } ?>
<?php echo wpsg_drawForm_TextEnd(__('E-Mail', 'wpsg')); ?>
- <script type="text/javascript">/* <![CDATA[ */
+ <script>
function wpsg_saveInvoiceAdress()
{
@@ -204,6 +207,18 @@
} );
- /* ]]> */</script>
+ </script>
+
+ <?php $arCV = $Customer->getCustomerVariables(); ?>
+ <?php if (wpsg_isSizedArray($arCV)) { ?>
+
+ <br />
+ <?php foreach ($Customer->getCustomerVariables() as $cv) { ?>
+
+ <?php echo wpsg_drawForm_Text($cv['label'], $cv['value']); ?>
+
+ <?php } ?>
+
+ <?php } ?>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>