1 [% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
2 <script type="text/javascript">
4 function setup_controls() {
6 setupDateFormat('[% myconfig_dateformat %]', 'Falsches Datumsformat!');
7 setupPoints('[% myconfig_numberformat %]', 'Falsches Format');
12 <body onLoad="setup_controls();">
14 <div class="listtop">[% title %]</div>
16 <form method="post" name="search" action="dn.pl">
20 <th align="right">Kunde</th>
22 [% IF SHOW_CUSTOMER_SELECTION %]
23 <select name="customer">
25 [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
28 <input name="customer" size="35">
33 [% IF SHOW_DUNNING_LEVEL_SELECTION %]
35 <th align="right">Nächste Mahnstufe</th>
37 <select name="dunning_level">
39 [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
45 [% IF SHOW_DEPARTMENT_SELECTION %]
47 <th align="right">Abteilung</th>
49 <select name="department">
51 [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
58 <th align="right" nowrap>Rechnungsnummer</th>
59 <td colspan="3"><input name="invnumber" size="20"></td>
63 <th align="right" nowrap>Auftragsnummer</th>
64 <td colspan="3"><input name="ordnumber" size="20"></td>
68 <th align="right" nowrap>Bemerkungen</th>
69 <td colspan="3"><input name="notes" size="40"></td>
72 <tr><td colspan="2"><hr size="3" noshade></td></tr>
75 <th align="right" nowrap>Mindestbetrag</th>
76 <td><input name="minamount" size="6"></td>
80 <th align="right" nowrap>Rechnungen zusammenfassen</th>
81 <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
85 <input type="hidden" name="nextsub" value="show_invoices">
88 <input class="submit" type="submit" name="action" value="Weiter">