diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2024-11-18 07:36:36 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2024-11-18 07:36:36 +0000 |
| commit | 2f9649c605bfafb9c205115a110fceb3068ab751 (patch) | |
| tree | eb80b01335a5f67a3cccc60de710ccc0220d2d9f /views/mods/mod_kundenverwaltung | |
| parent | 479bd8b375aa031f2dc0a3750b1dd6c938ccfb6a (diff) | |
- Feature: eInvoice Rechnungsempfänger unabhängig von E-Mail des Kunden
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8456 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_kundenverwaltung')
| -rw-r--r-- | views/mods/mod_kundenverwaltung/edit.phtml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/views/mods/mod_kundenverwaltung/edit.phtml b/views/mods/mod_kundenverwaltung/edit.phtml index bab185b..86fdde0 100644 --- a/views/mods/mod_kundenverwaltung/edit.phtml +++ b/views/mods/mod_kundenverwaltung/edit.phtml @@ -3,7 +3,9 @@ /**
* Template für die Bearbeitung eines Kunden im Backend
*/
-
+
+ $oCustomer = wpsg_customer::getInstance(intval($_REQUEST['edit_id']??0));
+
?>
<div class="wpsg_customer" id="wpsg-bs">
@@ -57,11 +59,16 @@ <?php echo wpsg_drawForm_Input('vname', __('Vorname', 'wpsg'), @$this->view['data']['vname']); ?>
<?php } ?>
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
- <?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'))); ?>
+ <?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'))); ?>
<?php } ?>
<?php if ($this->view['pflicht']['email'] != '2') { ?>
<?php echo wpsg_drawForm_Input('email', __('E-Mail', 'wpsg'), @$this->view['data']['email']); ?>
<?php } ?>
+
+ <?php if ($oCustomer->getEMailEInvoice() !== null) { ?>
+ <?php echo wpsg_drawForm_Input('email_einvoice', __('E-Mail für eRechnung', 'wpsg'), $oCustomer->getEMailEInvoice()); ?>
+ <?php } ?>
+
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
<?php echo wpsg_drawForm_Input('firma', __('Firma', 'wpsg'), @$this->view['data']['firma']); ?>
<?php } ?>
|
