summaryrefslogtreecommitdiff
path: root/views/order
diff options
context:
space:
mode:
Diffstat (limited to 'views/order')
-rw-r--r--views/order/view_customerdata.phtml11
1 files changed, 10 insertions, 1 deletions
diff --git a/views/order/view_customerdata.phtml b/views/order/view_customerdata.phtml
index c76ec1a..3393da1 100644
--- a/views/order/view_customerdata.phtml
+++ b/views/order/view_customerdata.phtml
@@ -55,6 +55,9 @@
'">'.$this->view['data']['email'].'</a>'); ?>
<?php } ?>
<?php } ?>
+
+ <?php echo wpsg_drawForm_Input('email_einvoice', __('E-Mail für eInvoice', 'wpsg'), $this->view['data']['email_einvoice']); ?>
+
<br />
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
@@ -143,7 +146,7 @@
</a>
<?php echo wpsg_drawForm_TextEnd(__('Anschrift', 'wpsg')); ?>
-
+
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
<?php if (strtotime($this->view['data']['geb']) > 0) { ?>
<?php echo wpsg_drawForm_Text(__('Geburtsdatum', 'wpsg'), wpsg_fromDate($this->view['data']['geb']), array('text' => true)); ?>
@@ -172,6 +175,12 @@
<?php } ?>
<?php echo wpsg_drawForm_TextEnd(__('E-Mail', 'wpsg')); ?>
+ <?php $email_einvoice = $Customer->getEMailEInvoice(); if ($email_einvoice !== null) { ?>
+ <?php echo wpsg_drawForm_TextStart(); ?>
+ <a href="mailto:<?php echo htmlspecialchars($email_einvoice); ?>"><?php echo htmlspecialchars($email_einvoice); ?></a>
+ <?php echo wpsg_drawForm_TextEnd(__('E-Mail für eRechnungen', 'wpsg')); ?>
+ <?php } ?>
+
<script>
function wpsg_saveInvoiceAdress()