summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkarl <noreply@maennchen1.de>2022-08-17 13:56:31 +0000
committerkarl <noreply@maennchen1.de>2022-08-17 13:56:31 +0000
commit7eae03a43e1276b71d3a42867be00347b7bd6562 (patch)
tree8762a1d863dc78d277519bee71040cfb2e375603
parent1f4e60371b1f604b75918f160fbf296fba37e116 (diff)
- improved usability in the invoice creation tool by adding useful preselected options
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8078 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rwxr-xr-xviews/mods/mod_rechnungen/order_view_orderdata_after.phtml2
-rw-r--r--views/order/index.phtml2
-rw-r--r--views/produkt/index.phtml2
3 files changed, 3 insertions, 3 deletions
diff --git a/views/mods/mod_rechnungen/order_view_orderdata_after.phtml b/views/mods/mod_rechnungen/order_view_orderdata_after.phtml
index 97e2a9f..9de7fbd 100755
--- a/views/mods/mod_rechnungen/order_view_orderdata_after.phtml
+++ b/views/mods/mod_rechnungen/order_view_orderdata_after.phtml
@@ -101,7 +101,7 @@
<input type="checkbox" name="wpsg_rechnungen_faelligkeit" value="1" id="invoice_faelligkeit" />
<label for="invoice_faelligkeit"><?php echo __('Fälligkeit anzeigen', 'wpsg'); ?></label>
- <input type="date" name="wpsg_rechnungen_faelligkeitsdatum" value="<?php echo date('Y-m-d'); ?>" />
+ <input type="date" name="wpsg_rechnungen_faelligkeitsdatum" value="<?php echo date('Y-m-d', strtotime('+'.intval($this->get_option("wpsg_rechnungen_faelligkeit")).' day')); ?>" />
<input type="checkbox" name="wpsg_rechnungen_status" value="1" id="invoice_state" checked="checked" />
<label for="invoice_state"><?php echo __('Neuer Status', 'wpsg'); ?></label>
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>
diff --git a/views/produkt/index.phtml b/views/produkt/index.phtml
index 1e68438..573d50a 100644
--- a/views/produkt/index.phtml
+++ b/views/produkt/index.phtml
@@ -86,7 +86,7 @@
<?php
$filterAll = $this->view['arFilter'];
- $filterAll['debug'] = true;
+ $filterAll['debug'] = false;
unset($filterAll['productgroup_ids']);
unset($filterAll['productcategory_ids']);