summaryrefslogtreecommitdiff
path: root/views/mods
diff options
context:
space:
mode:
authorJean-Luc Beer <noreply@maennchen1.de>2024-12-19 15:47:44 +0000
committerJean-Luc Beer <noreply@maennchen1.de>2024-12-19 15:47:44 +0000
commit09a4cc2a0b55a13de7b3f58c9fa0b365088b653c (patch)
tree147045b04a55b91ae16938ae269ce00c02780fb0 /views/mods
parent61aed754e522c1ab3ed4cb9b7a9dad852a218bff (diff)
Anpassungen für E-Rechnung (grundlegende BT-Felder gefixt/gefüllt, Leitweg-ID neu angelegt)
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8463 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods')
-rw-r--r--views/mods/mod_kundenverwaltung/edit.phtml12
1 files changed, 8 insertions, 4 deletions
diff --git a/views/mods/mod_kundenverwaltung/edit.phtml b/views/mods/mod_kundenverwaltung/edit.phtml
index 86fdde0..648dd35 100644
--- a/views/mods/mod_kundenverwaltung/edit.phtml
+++ b/views/mods/mod_kundenverwaltung/edit.phtml
@@ -64,11 +64,15 @@
<?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 if ($this->view['pflicht']['eInvoice'] != '0') { ?>
+ <?php echo wpsg_drawForm_Input('email_einvoice', __('E-Mail für eRechnung', 'wpsg'), $this->view['data']['email_einvoice']??''); ?>
<?php } ?>
-
+
+ <?php if (($this->view['pflicht']['leitweg']??'') != '0') { ?>
+ <?php echo wpsg_drawForm_Input('leitweg_id', __('Leitweg-ID', 'wpsg'), @$this->view['data']['leitweg_id']??''); ?>
+ <?php } ?>
+
<?php if ($this->view['pflicht']['firma'] != '2') { ?>
<?php echo wpsg_drawForm_Input('firma', __('Firma', 'wpsg'), @$this->view['data']['firma']); ?>
<?php } ?>