Revision 4de9e26e
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/dunning/search.html | ||
---|---|---|
|
||
[% INCLUDE 'common/flash.html' %]
|
||
|
||
<form method="post" name="search" action="dn.pl" id="form">
|
||
<form method="post" name="search" action="dn.pl" id="form">
|
||
|
||
<table width="100%">
|
||
<tr>
|
||
<td>
|
||
<table>
|
||
<tr>
|
||
<th align="right">[% 'Customer' | $T8 %]</th>
|
||
<td colspan="3">[% P.input_tag("customer", "", size="35", class="initial_focus") %]</td>
|
||
</tr>
|
||
<div class="wrapper">
|
||
|
||
[% IF SHOW_DUNNING_LEVELS %]
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Dunning Level' | $T8 %]</th>
|
||
<td colspan="3">
|
||
<select name="dunning_level">
|
||
<table class="tbl-horizontal">
|
||
<caption>[% 'Order data' | $T8 %]</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th>[% 'Customer' | $T8 %]</th>
|
||
<td>[% P.input_tag("customer", "", class="initial_focus wi-lightwide") %]</td>
|
||
</tr>
|
||
[% IF SHOW_DUNNING_LEVELS %]
|
||
<tr>
|
||
<th>[% 'Dunning Level' | $T8 %]</th>
|
||
<td>
|
||
<select name="dunning_level" class="wi-lightwide">
|
||
<option value=""></option>
|
||
[% FOREACH row = DUNNING %]
|
||
<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
|
||
[% END %]
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
[% END %]
|
||
<tr>
|
||
<th>[% 'Invoice Number' | $T8 %]</th>
|
||
<td><input type="text" name="invnumber" class="wi-lightwide">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Order Number' | $T8 %]</th>
|
||
<td><input type="text" name="ordnumber" class="wi-lightwide">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Notes' | $T8 %]</th>
|
||
<td><input type="text" name="notes" class="wi-lightwide">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Invdate from' | $T8 %]</th>
|
||
<td><span class="wi-date"> [% L.date_tag('transdatefrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('transdateto') %]</span></td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Dunning Date from' | $T8 %]</th>
|
||
<td><span class="wi-date"> [% L.date_tag('dunningfrom') %] [% 'To (time)' | $T8 %] [% L.date_tag('dunningto') %]</span></td>
|
||
</tr>
|
||
[% IF ALL_DEPARTMENTS.as_list.size %]
|
||
<tr>
|
||
<th>[% 'Department' | $T8 %]</th>
|
||
<td>
|
||
<select name="department_id" class="wi-lightwide">
|
||
<option value=""></option>
|
||
[% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
|
||
[% FOREACH row = ALL_DEPARTMENTS %]
|
||
<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
|
||
[% END %]
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
[% END %]
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
[% END %]
|
||
<tr>
|
||
<th>[% 'Salesman' | $T8 %]</th>
|
||
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, class='wi-lightwide') %]</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
[% IF ALL_DEPARTMENTS.as_list.size %]
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Department' | $T8 %]</th>
|
||
<td colspan="3">
|
||
<select name="department_id">
|
||
<option value=""></option>
|
||
[% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
|
||
[% END %]
|
||
</select>
|
||
</td>
|
||
</tr>
|
||
[% END %]
|
||
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
|
||
<td colspan="3"><input name="invnumber" size="20"></td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
|
||
<td colspan="3"><input name="ordnumber" size="20"></td>
|
||
</tr>
|
||
<table class="tbl-horizontal col">
|
||
<caption>[% 'Options' | $T8 %]</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th>[% 'Show old dunnings' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="showold">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>[% 'Show Salesman' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="l_salesman">
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Notes' | $T8 %]</th>
|
||
<td colspan="3"><input name="notes" size="40"></td>
|
||
</tr>
|
||
</div><!-- /.wrapper -->
|
||
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Invdate from' | $T8 %]</th>
|
||
<td>
|
||
[% L.date_tag('transdatefrom') %]
|
||
</td>
|
||
<th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
|
||
<td>
|
||
[% L.date_tag('transdateto') %]
|
||
</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Dunning Date from' | $T8 %]</th>
|
||
<td>
|
||
[% L.date_tag('dunningfrom') %]
|
||
</td>
|
||
<th align="right" nowrap>[% 'To (time)' | $T8 %]</th>
|
||
<td>
|
||
[% L.date_tag('dunningto') %]
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th align="right">[% 'Salesman' | $T8 %]</th>
|
||
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
|
||
<tr><td><hr size="3" noshade></td></tr>
|
||
|
||
<tr>
|
||
<td>
|
||
<table>
|
||
<tr>
|
||
<th align="right" nowrap>[% 'Show old dunnings' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="showold"></td>
|
||
<th align="right" nowrap>[% 'Show Salesman' | $T8 %]</th>
|
||
<td><input type="checkbox" value="1" name="l_salesman"></td>
|
||
</tr>
|
||
</table>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
</form>
|
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/dunning/search.html