Line 53... |
Line 53... |
53 |
wpsg_admin_url('Customer', 'edit', ['edit_id' => $this->view['data']['k_id']]).
|
53 |
wpsg_admin_url('Customer', 'edit', ['edit_id' => $this->view['data']['k_id']]).
|
54 |
|
54 |
|
55 |
'">'.$this->view['data']['email'].'</a>'); ?>
|
55 |
'">'.$this->view['data']['email'].'</a>'); ?>
|
56 |
<?php } ?>
|
56 |
<?php } ?>
|
57 |
<?php } ?>
|
57 |
<?php } ?>
|
- |
|
58 |
|
- |
|
59 |
<?php echo wpsg_drawForm_Input('email_einvoice', __('E-Mail für eInvoice', 'wpsg'), $this->view['data']['email_einvoice']); ?>
|
- |
|
60 |
|
58 |
<br />
|
61 |
<br />
|
59 |
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
|
62 |
<?php if ($this->view['pflicht']['strasse'] != '2') { ?>
|
60 |
|
63 |
|
61 |
<?php echo wpsg_drawForm_Input('dialog_strasse', __('Straße', 'wpsg'), $this->view['data']['strasse']); ?>
|
64 |
<?php echo wpsg_drawForm_Input('dialog_strasse', __('Straße', 'wpsg'), $this->view['data']['strasse']); ?>
|
62 |
|
65 |
|
Line 141... |
Line 144... |
141 |
<a style="position: absolute; right:25px; top:10px; display:inline-block;" data-toggle="modal" data-target="#wpsg_customer_edit" href="#" title="<?php echo __('Anschrift ändern', 'wpsg'); ?>">
|
144 |
<a style="position: absolute; right:25px; top:10px; display:inline-block;" data-toggle="modal" data-target="#wpsg_customer_edit" href="#" title="<?php echo __('Anschrift ändern', 'wpsg'); ?>">
|
142 |
<span class="glyphicon glyphicon-pencil"></span>
|
145 |
<span class="glyphicon glyphicon-pencil"></span>
|
143 |
</a>
|
146 |
</a>
|
144 |
|
147 |
|
145 |
<?php echo wpsg_drawForm_TextEnd(__('Anschrift', 'wpsg')); ?>
|
148 |
<?php echo wpsg_drawForm_TextEnd(__('Anschrift', 'wpsg')); ?>
|
146 |
|
149 |
|
147 |
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
|
150 |
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
|
148 |
<?php if (strtotime($this->view['data']['geb']) > 0) { ?>
|
151 |
<?php if (strtotime($this->view['data']['geb']) > 0) { ?>
|
149 |
<?php echo wpsg_drawForm_Text(__('Geburtsdatum', 'wpsg'), wpsg_fromDate($this->view['data']['geb']), array('text' => true)); ?>
|
152 |
<?php echo wpsg_drawForm_Text(__('Geburtsdatum', 'wpsg'), wpsg_fromDate($this->view['data']['geb']), array('text' => true)); ?>
|
150 |
<?php } ?>
|
153 |
<?php } ?>
|
151 |
<?php } ?>
|
154 |
<?php } ?>
|
Line 170... |
Line 173... |
170 |
<?php if ($this->view['pflicht']['email'] != '2') { ?>
|
173 |
<?php if ($this->view['pflicht']['email'] != '2') { ?>
|
171 |
<a href="mailto:<?php echo $this->view['data']['email']; ?>"><?php echo $this->view['data']['email']; ?></a>
|
174 |
<a href="mailto:<?php echo $this->view['data']['email']; ?>"><?php echo $this->view['data']['email']; ?></a>
|
172 |
<?php } ?>
|
175 |
<?php } ?>
|
173 |
<?php echo wpsg_drawForm_TextEnd(__('E-Mail', 'wpsg')); ?>
|
176 |
<?php echo wpsg_drawForm_TextEnd(__('E-Mail', 'wpsg')); ?>
|
174 |
|
177 |
|
- |
|
178 |
<?php $email_einvoice = $Customer->getEMailEInvoice(); if ($email_einvoice !== null) { ?>
|
- |
|
179 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
- |
|
180 |
<a href="mailto:<?php echo htmlspecialchars($email_einvoice); ?>"><?php echo htmlspecialchars($email_einvoice); ?></a>
|
- |
|
181 |
<?php echo wpsg_drawForm_TextEnd(__('E-Mail für eRechnungen', 'wpsg')); ?>
|
- |
|
182 |
<?php } ?>
|
- |
|
183 |
|
175 |
<script>
|
184 |
<script>
|
176 |
|
185 |
|
177 |
function wpsg_saveInvoiceAdress()
|
186 |
function wpsg_saveInvoiceAdress()
|
178 |
{
|
187 |
{
|
179 |
|
188 |
|