diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2021-06-02 05:35:45 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2021-06-02 05:35:45 +0000 |
| commit | ec8777e2484f5d8f70d9674d012873f82f8dfc60 (patch) | |
| tree | 3f8d7e77f676dffa326230e7a9893e1a4d661631 /views/order/view_customerdata.phtml | |
| parent | 84c020827ecf96c2a57e04f56b0f7e68ae974d7d (diff) | |
- Bugfix: Weitere Kundendaten werden in Admin- und Kundenmail und Bestellverwaltung angezeigt
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7900 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/order/view_customerdata.phtml')
| -rw-r--r-- | views/order/view_customerdata.phtml | 19 |
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(); ?>
|
