projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git]
/
templates
/
webpages
/
dunning
/
add.html
diff --git
a/templates/webpages/dunning/add.html
b/templates/webpages/dunning/add.html
index
4173a51
..
d061d2c
100644
(file)
--- a/
templates/webpages/dunning/add.html
+++ b/
templates/webpages/dunning/add.html
@@
-1,43
+1,33
@@
-[%- USE T8 %]
+[%- USE T8 %]
[%- USE L %]
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
<h1>[% title %]</h1>
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
<h1>[% title %]</h1>
- <form method="post" name="search" action="dn.pl">
+ <form method="post" name="search" action="dn.pl"
id="form"
>
<table>
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
<td colspan="3">
<table>
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
<td colspan="3">
- [% IF SHOW_CUSTOMER_SELECTION %]
- <select name="customer" class="initial_focus">
- <option></option>
- [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
- </select>
- [% ELSE %]
<input name="customer" size="35" class="initial_focus">
<input name="customer" size="35" class="initial_focus">
- [% END %]
</td>
</tr>
</td>
</tr>
- [% IF SHOW_D
UNNING_LEVEL
_SELECTION %]
+ [% IF SHOW_D
EPARTMENT
_SELECTION %]
<tr>
<tr>
- <th align="right">[% '
Next Dunning Level
' | $T8 %]</th>
+ <th align="right">[% '
Department
' | $T8 %]</th>
<td colspan="3">
<td colspan="3">
- <select name="dunning_level">
- <option></option>
- [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
- </select>
+ [% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]
</td>
</tr>
[% END %]
</td>
</tr>
[% END %]
- [% IF SHOW_D
EPARTMENT
_SELECTION %]
+ [% IF SHOW_D
UNNING_LEVEL
_SELECTION %]
<tr>
<tr>
- <th align="right">[% '
Department
' | $T8 %]</th>
+ <th align="right">[% '
Next Dunning Level
' | $T8 %]</th>
<td colspan="3">
<td colspan="3">
- <select name="d
epartment
">
+ <select name="d
unning_level
">
<option></option>
<option></option>
- [% FOREACH row =
all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id
) %]</option>[% END %]
+ [% FOREACH row =
DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description
) %]</option>[% END %]
</select>
</td>
</tr>
</select>
</td>
</tr>
@@
-78,11
+68,9
@@
<th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
<td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
</tr>
<th align="right" nowrap><label for="l_include_direct_debit">[% 'Include invoices with direct debit' | $T8 %]</label></th>
<td><input type="checkbox" value="1" id="l_include_direct_debit" name="l_include_direct_debit"></td>
</tr>
+ <tr>
+ <th align="right" nowrap><label for="l_include_credit_notes">[% 'Add open Credit Notes' | $T8 %]</label></th>
+ <td><input type="checkbox" value="1" id="l_include_credit_notes" name="l_include_credit_notes"></td>
+ </tr>
</table>
</table>
-
- <input type="hidden" name="nextsub" value="show_invoices">
-
- <br>
- <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
-
</form>
</form>