Line 476... |
Line 476... |
476 |
|
476 |
|
477 |
});
|
477 |
});
|
478 |
|
478 |
|
479 |
</script>
|
479 |
</script>
|
480 |
|
480 |
|
481 |
<div class="multiRechnung_tab" id="multiRechnung_inform" style="display:none;">
|
481 |
<div class="multiRechnung_tab" id="multiRechnung_inform" style="padding: 15px 0 15px 0; display:none;">
|
- |
|
482 |
|
482 |
<br />
|
483 |
<div style="width: 100%; padding: 1rem; display: grid; row-gap: 0.5rem; column-gap: 0.5rem; grid-template-columns: 25px 1fr 150px; align-items: center; grid-auto-rows: 30px; padding-bottom: 0.5rem;" >
|
- |
|
484 |
|
483 |
<input type="checkbox" name="wpsg_Multirechnung_sendmail" value="1" id="invoice_sendmail" />
|
485 |
<input type="checkbox" name="wpsg_Multirechnung_sendmail" value="1" id="invoice_sendmail" />
|
484 |
<label for="invoice_sendmail"><?php echo __('E-Mail an Kunden senden', 'wpsg'); ?></label>
|
486 |
<label for="invoice_sendmail"><?php echo __('E-Mail an Kunden senden', 'wpsg'); ?></label>
|
485 |
<input type="email" name="wpsg_Multirechnung_email" value="" />
|
487 |
<input type="email" name="wpsg_Multirechnung_email" value="" />
|
486 |
<br />
|
- |
|
- |
|
488 |
|
487 |
<input type="checkbox" name="wpsg_Multirechnung_faelligkeit" value="1" id="invoice_faelligkeit" />
|
489 |
<input type="checkbox" name="wpsg_Multirechnung_faelligkeit" value="1" id="invoice_faelligkeit" />
|
488 |
<label for="invoice_faelligkeit"><?php echo __('Fälligkeit anzeigen', 'wpsg'); ?></label>
|
490 |
<label for="invoice_faelligkeit"><?php echo __('Fälligkeit anzeigen', 'wpsg'); ?></label>
|
489 |
<input type="date" name="wpsg_Multirechnung_faelligkeitsdatum" value="<?php echo date('Y-m-d', strtotime('+'.intval($this->get_option("wpsg_rechnungen_faelligkeit")).' day')); ?>" />
|
491 |
<input type="date" name="wpsg_Multirechnung_faelligkeitsdatum" value="<?php echo date('Y-m-d', strtotime('+'.intval($this->get_option("wpsg_rechnungen_faelligkeit")).' day')); ?>" />
|
490 |
<br />
|
- |
|
- |
|
492 |
|
491 |
<input type="checkbox" name="wpsg_Multirechnung_url" value="1" id="invoice_url" />
|
493 |
<input type="checkbox" name="wpsg_Multirechnung_url" value="1" id="invoice_url" />
|
492 |
<label for="invoice_url"><?php echo __('URL Benachrichtigung', 'wpsg'); ?></label>
|
494 |
<label for="invoice_url"><?php echo __('URL Benachrichtigung', 'wpsg'); ?></label>
|
- |
|
495 |
<span></span>
|
- |
|
496 |
|
493 |
<br />
|
497 |
<span></span>
|
494 |
<label for="invoice_date"><?php echo __('Rechnungsdatum', 'wpsg') ;?></label>
|
498 |
<label for="invoice_date"><?php echo __('Rechnungsdatum', 'wpsg') ;?></label>
|
495 |
<input type="date" value="<?php echo date('Y-m-d'); ?>" name="wpsg_Multirechnung_datum" id="invoice_date" />
|
499 |
<input type="date" value="<?php echo date('Y-m-d'); ?>" name="wpsg_Multirechnung_datum" id="invoice_date" />
|
496 |
|
500 |
|
497 |
<br />
|
501 |
<span style="display:flex; justify-content:flex-start; gap:0.5rem; grid-column:1/span 3;">
|
498 |
|
- |
|
499 |
<input type="hidden" name="preview" id="wpsg_mod_rechnungen_preview" />
|
502 |
<input type="hidden" name="preview" id="wpsg_mod_rechnungen_preview" />
|
500 |
|
- |
|
501 |
<input type="submit" name="wpsg_order_doaction" value="<?php echo _('Vorschau'); ?>" id="wpsg_mod_rechnungen_button_preview" />
|
503 |
<input type="submit" name="wpsg_order_doaction" value="<?php echo _('Vorschau'); ?>" id="wpsg_mod_rechnungen_button_preview" />
|
502 |
<input type="submit" name="wpsg_order_doaction" value="<?php echo _('Erstellen'); ?>" id="wpsg_mod_rechnungen_button_submit" />
|
504 |
<input type="submit" name="wpsg_order_doaction" value="<?php echo _('Erstellen'); ?>" id="wpsg_mod_rechnungen_button_submit" />
|
- |
|
505 |
</span>
|
- |
|
506 |
|
- |
|
507 |
</div>
|
503 |
|
508 |
|
504 |
<script>
|
509 |
<script>
|
505 |
|
510 |
|
506 |
let el_order_form = document.getElementById('order_form');
|
511 |
let el_order_form = document.getElementById('order_form');
|
507 |
|
512 |
|