summaryrefslogtreecommitdiff
path: root/views/warenkorb/checkout.phtml
diff options
context:
space:
mode:
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">