summaryrefslogtreecommitdiff
path: root/views/warenkorb/checkout.phtml
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/warenkorb/checkout.phtml
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/warenkorb/checkout.phtml')
-rw-r--r--views/warenkorb/checkout.phtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/views/warenkorb/checkout.phtml b/views/warenkorb/checkout.phtml
index 9a038cb..ba8ddb9 100644
--- a/views/warenkorb/checkout.phtml
+++ b/views/warenkorb/checkout.phtml
@@ -218,6 +218,20 @@
/>
</div>
<?php } ?>
+
+ <?php if (intval($this->view['pflicht']['leitweg']??0) === 1) { ?>
+ <div class="wpsg_checkoutblock" id="wpsg_leitweg_id">
+ <label for="wpsg_leitweg_id_input" class="wpsg_checkout"><?php echo __("Leitweg-ID (für eRechnung, optional)", "wpsg"); ?></label>
+ <input
+ class="wpsg_input_text wpsg_checkout <?php echo ((in_array("leitweg_id", (array)$this->view['error']))?'wpsg_error':''); ?>"
+ type="text"
+ id="wpsg_email_leitweg_id_input"
+ name="wpsg[checkout][leitweg_id]"
+ value="<?php echo htmlspecialchars($this->view['basket']['checkout']['leitweg_id']??''); ?>"
+ autocomplete="off"
+ />
+ </div>
+ <?php } ?>
<?php if ($this->view['pflicht']['geb'] != '2') { ?>
<div class="wpsg_checkoutblock" id="wpsg_geburtsdatum">