-[%- USE T8 %]
-[%- USE L %]
-<body>
-
- <form method=post name="search_invoice" action=[% script %]>
-
- <table width=100% border="0">
- <tr><th class=listtop>[% title %]</th></tr>
- <tr height="5"></tr>
- <tr>
- <td>
- <table border="0">
- <tr>
- <td>
- <table border="1">
- <tr>
- <th align=left nowrap>[% 'Configuration' | $T8 %]</th>
- <td>
- <table border="0">
- <tr>
- <td align="right">[% 'Main sorting' | $T8 %]</td>
- <td>
- <select name="mainsort" id="mainsort">
- <option value="description">[% 'Part' | $T8 %]</option>
- <option value="customername">[% 'Customer' | $T8 %]</option>
- <option value="country">[% 'Country' | $T8 %]</option>
- <option value="partsgroup">[% 'Group' | $T8 %]</option>
- <option value="business">[% 'Customer type' | $T8 %]</option>
- <option value="salesman" selected="selected">[% 'Salesman' | $T8 %]</option>
- <option value="month">[% 'Month' | $T8 %]</option>
- </select>
- </td>
- <td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
- <td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
- </tr>
- <tr>
- <td align="right">[% 'Secondary sorting' | $T8 %]</td>
- <td>
- <select name="subsort" id="subsort">
- <option value="description">[% 'Part' | $T8 %]</option>
- <option value="customername">[% 'Customer' | $T8 %]</option>
- <option value="country">[% 'Country' | $T8 %]</option>
- <option value="partsgroup">[% 'Group' | $T8 %]</option>
- <option value="business">[% 'Customer type' | $T8 %]</option>
- <option value="salesman">[% 'Salesman' | $T8 %]</option>
- <option value="month" selected="selected">[% 'Month' | $T8 %]</option>
- </select>
- </td>
- <td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
- <td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
- </tr>
- <tr>
- <th align="right">[% 'Item mode' | $T8 %]</th>
- <td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
- </tr>
- <tr>
- <th align="right">
- [% 'Total sum' | $T8 %]
- </th>
- <td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
- <td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
- <td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
- </tr>
- </table>
- </td>
- <tr>
- <th align=left nowrap>[% 'Filter' | $T8 %]</th>
- <td>
- <table border="0">
- <tr>
- <tr>
- <th align=left colspan="4"><br>[% 'Filter' | $T8 %]:</br></th>
- </tr>
- <tr>
- <th align=right>[% 'Customer' | $T8 %]</th>
- <td colspan=3>
- [%- INCLUDE 'generic/multibox.html'
- name = 'customer',
- default = oldcustomer,
- style = 'width: 250px',
- DATA = ALL_VC,
- id_sub = 'vc_keys',
- label_key = 'name',
- select = vc_select,
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
+[%- USE T8 %][%- USE L %][%- USE P -%]
+[%- SET style="width: 250px" %]
+<h1>[% title %]</h1>
+
+<form method=post name="search_invoice" action=[% script %]>
+ <input type="hidden" name="sort" value="transdate">
+ <input type=hidden name=nextsub value=[% nextsub %]>
+
+ <table>
+
+ <tr>
+ <td align="right">[% 'Main sorting' | $T8 %]</td>
+ <td>
+ <select name="mainsort" id="mainsort">
+ <option value="description">[% 'Part' | $T8 %]</option>
+ <option value="customername">[% 'Customer' | $T8 %]</option>
+ <option value="country">[% 'Country' | $T8 %]</option>
+ <option value="partsgroup">[% 'Partsgroup' | $T8 %]</option>
+ <option value="business">[% 'Customer type' | $T8 %]</option>
+ <option value="salesman" selected="selected">[% 'Salesman' | $T8 %]</option>
+ <option value="month">[% 'Month' | $T8 %]</option>
+ <option value="shipvia">[% 'Ship via' | $T8 %]</option>
+ </select>