[%- USE T8 %]
[%- USE L %]
[%- USE HTML %]
- <form method="post" action="ct.pl" name="Form">
+<h1>[% title %]</h1>
- <input type="hidden" name="db" value="[% HTML.escape(db) %]">
+ <form method="post" action="ct.pl" name="Form" id="form">
- <div class="listtop">[% title %]</div>
+ <input type="hidden" name="db" value="[% HTML.escape(db) %]">
<table>
<tr>
<tr>
<th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer Name' | $T8 %][%- ELSE %][% 'Vendor Name' | $T8 %][%- END %]</th>
- <td><input id="name" name="name" size="35"></td>
+ <td><input id="name" name="name" size="35" class="initial_focus"></td>
</tr>
<tr>
<th align="right" nowrap>[% 'Billing/shipping address (street)' | $T8 %]</th>
<td><input name="addr_street" size="35"></td>
</tr>
- <tr>
+ <tr>
<th align="right" nowrap>[% 'Billing/shipping address (zipcode)' | $T8 %]</th>
<td><input name="addr_zipcode" size="35"></td>
- </tr>
+ </tr>
<tr>
<th align="right" nowrap>[% 'Billing/shipping address (city)' | $T8 %]</th>
<td><input name="addr_city" size="35"></td>
</tr>
+ <tr>
+ <th align="right" nowrap>[% 'Billing/shipping address (country)' | $T8 %]</th>
+ <td><input name="addr_country" size="35"></td>
+ </tr>
+ <tr>
+ <th align="right" nowrap>[% 'Billing/shipping address (GLN)' | $T8 %]</th>
+ <td><input name="addr_gln" size="35"></td>
+ </tr>
+
[% IF SHOW_BUSINESS_TYPES %]
<tr>
<th align="right" nowrap>[% IF IS_CUSTOMER %][% 'Customer type' | $T8 %][% ELSE %][% 'Vendor type' | $T8 %][% END %]</th>
</tr>
[% END %]
+ [% IF IS_CUSTOMER && ALL_SALESMEN.size %]
+ <tr>
+ <th align="right" nowrap>[% 'Salesman' | $T8 %]</th>
+ <td>
+ [% L.select_tag('salesman_id', ALL_SALESMEN, title_key = 'name', with_empty = 1) %]
+ </td>
+ </tr>
+ [% END %]
+
+ <tr>
+ <th align="right">[% 'Insert Date' | $T8 %] [% 'From' | $T8 %]</th>
+ <td>
+ [% L.date_tag('insertdatefrom') %]
+ </td>
+ <th align="right">[% 'Bis' | $T8 %]</th>
+ <td>
+ [% L.date_tag('insertdateto') %]
+ </td>
+ </tr>
+
[% CUSTOM_VARIABLES_FILTER_CODE %]
<tr>
<tr>
<th align="right" nowrap>[% 'Include in Report' | $T8 %]</th>
- <td>
+ <td colspan="5">
<table border="0">
<tr>
<td>
<td>
<input name="l_city" id="l_city" type="checkbox" class="checkbox" value="Y" checked>
<label for="l_city">[% 'City' | $T8 %]</label>
- </td>
+ </td>
</tr>
<tr>
<label for="l_quonumber">[% IF IS_CUSTOMER %][% 'Quotations' | $T8 %][% ELSE %][% 'RFQs' | $T8 %][% END %]</label>
</td>
<td>
+ <input name="l_country" id="l_country" type="checkbox" class="checkbox" value="Y" checked>
+ <label for="l_country">[% 'Country' | $T8 %]</label>
</td>
</tr>
+ <tr>
+ <td>
+ <input name="l_discount" id="l_discount" type="checkbox" class="checkbox" value="Y">
+ <label for="l_discount">[% 'Discount' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_payment" id="l_payment" type="checkbox" class="checkbox" value="Y">
+ <label for="l_payment">[% 'Payment Terms' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_insertdate" id="l_insertdate" class="checkbox" type="checkbox" value="Y">
+ <label for="l_insertdate">[% 'Insert Date' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_gln" id="l_gln" type="checkbox" class="checkbox" value="Y" checked>
+ <label for="l_gln">[% 'GLN' | $T8 %]</label>
+ </td>
+ </tr>
+ [% IF IS_CUSTOMER %]
+ <tr>
+ <td>
+ <input name="l_salesman" id="l_salesman" type="checkbox" class="checkbox" value="Y">
+ <label for="l_salesman">[% 'Salesman' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l_pricegroup" id="l_pricegroup" type="checkbox" class="checkbox" value="Y">
+ <label for="l_pricegroup">[% 'Pricegroup' | $T8 %]</label>
+ </td>
+ </tr>
+ [% END %]
[% CUSTOM_VARIABLES_INCLUSION_CODE %]
</td>
</tr>
</table>
-
- <input type="hidden" name="nextsub" value="list_names">
-
- <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
</form>
-