Line 1... |
Line 1... |
1 |
<?php
|
1 |
<?php
|
2 |
|
2 |
|
3 |
/**
|
3 |
/**
|
4 |
* Template für die Bearbeitung eines Kunden im Backend
|
4 |
* Template für die Bearbeitung eines Kunden im Backend
|
5 |
*/
|
5 |
*/
|
6 |
|
6 |
|
- |
|
7 |
$oCustomer = wpsg_customer::getInstance(intval($_REQUEST['edit_id']??0));
|
- |
|
8 |
|
7 |
?>
|
9 |
?>
|
8 |
<div class="wpsg_customer" id="wpsg-bs">
|
10 |
<div class="wpsg_customer" id="wpsg-bs">
|
9 |
|
11 |
|
10 |
<nav class="navbar navbar-default">
|
12 |
<nav class="navbar navbar-default">
|
11 |
|
13 |
|
Line 55... |
Line 57... |
55 |
<?php } ?>
|
57 |
<?php } ?>
|
56 |
<?php if ($this->view['pflicht']['vname'] != '2') { ?>
|
58 |
<?php if ($this->view['pflicht']['vname'] != '2') { ?>
|
57 |
<?php echo wpsg_drawForm_Input('vname', __('Vorname', 'wpsg'), @$this->view['data']['vname']); ?>
|
59 |
<?php echo wpsg_drawForm_Input('vname', __('Vorname', 'wpsg'), @$this->view['data']['vname']); ?>
|
58 |
<?php } ?>
|
60 |
<?php } ?>
|
59 |
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
|
61 |
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
|
60 |
<?php echo wpsg_drawForm_Input('geb', __('Geburtsdatum', 'wpsg'), wpsg_formatTimestamp(strtotime(@$this->view['data']['geb']), true), array('autocomplete' => false, 'datepicker' => true, 'hint' => __('Format: TT.MM.JJJJ', 'wpsg'))); ?>
|
62 |
<?php echo wpsg_drawForm_Input('geb', __('Geburtsdatum', 'wpsg'), wpsg_formatTimestamp(strtotime($this->view['data']['geb']??''), true), array('autocomplete' => false, 'datepicker' => true, 'hint' => __('Format: TT.MM.JJJJ', 'wpsg'))); ?>
|
61 |
<?php } ?>
|
63 |
<?php } ?>
|
62 |
<?php if ($this->view['pflicht']['email'] != '2') { ?>
|
64 |
<?php if ($this->view['pflicht']['email'] != '2') { ?>
|
63 |
<?php echo wpsg_drawForm_Input('email', __('E-Mail', 'wpsg'), @$this->view['data']['email']); ?>
|
65 |
<?php echo wpsg_drawForm_Input('email', __('E-Mail', 'wpsg'), @$this->view['data']['email']); ?>
|
64 |
<?php } ?>
|
66 |
<?php } ?>
|
- |
|
67 |
|
- |
|
68 |
<?php if ($oCustomer->getEMailEInvoice() !== null) { ?>
|
- |
|
69 |
<?php echo wpsg_drawForm_Input('email_einvoice', __('E-Mail für eRechnung', 'wpsg'), $oCustomer->getEMailEInvoice()); ?>
|
- |
|
70 |
<?php } ?>
|
- |
|
71 |
|
65 |
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
|
72 |
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
|
66 |
<?php echo wpsg_drawForm_Input('firma', __('Firma', 'wpsg'), @$this->view['data']['firma']); ?>
|
73 |
<?php echo wpsg_drawForm_Input('firma', __('Firma', 'wpsg'), @$this->view['data']['firma']); ?>
|
67 |
<?php } ?>
|
74 |
<?php } ?>
|
68 |
<?php if ($this->view['pflicht']['tel'] != '2') { ?>
|
75 |
<?php if ($this->view['pflicht']['tel'] != '2') { ?>
|
69 |
<?php echo wpsg_drawForm_Input('tel', __('Telefon', 'wpsg'), @$this->view['data']['tel']); ?>
|
76 |
<?php echo wpsg_drawForm_Input('tel', __('Telefon', 'wpsg'), @$this->view['data']['tel']); ?>
|