summaryrefslogtreecommitdiff
path: root/views/order
diff options
context:
space:
mode:
Diffstat (limited to 'views/order')
-rw-r--r--views/order/index.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/order/index.phtml b/views/order/index.phtml
index 20317bc..2f45679 100644
--- a/views/order/index.phtml
+++ b/views/order/index.phtml
@@ -486,7 +486,7 @@
<br />
<input type="checkbox" name="wpsg_Multirechnung_faelligkeit" value="1" id="invoice_faelligkeit" />
<label for="invoice_faelligkeit"><?php echo __('Fälligkeit anzeigen', 'wpsg'); ?></label>
- <input type="date" name="wpsg_Multirechnung_faelligkeitsdatum" value="<?php echo date('Y-m-d'); ?>" />
+ <input type="date" name="wpsg_Multirechnung_faelligkeitsdatum" value="<?php echo date('Y-m-d', strtotime('+'.intval($this->get_option("wpsg_rechnungen_faelligkeit")).' day')); ?>" />
<br />
<input type="checkbox" name="wpsg_Multirechnung_url" value="1" id="invoice_url" />
<label for="invoice_url"><?php echo __('URL Benachrichtigung', 'wpsg'); ?></label>