<form method=post name="search" id="form" action=[% script %]>
[% L.hidden_tag("action", nextsub) %]
+ [% L.hidden_tag("sort", "transdate") %]
<table width=100% border="0">
<tr>
<th align="right">[% 'Salesman' | $T8 %]</th>
<td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style=style) %]</td>
</tr>
+ <tr>
+ <th align="right">[% 'Steuersatz' | $T8 %]</th>
+ <td>[% L.select_tag('taxzone_id', ALL_TAXZONES, with_empty=1, title_key='description', style=style) %]</td>
+ </tr>
<tr>
<th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
<td>[% L.input_tag("transaction_description", "", style=style) %]</td>
<th align="right">[% 'Part Number' | $T8 %]</th>
<td>[% L.input_tag("parts_partnumber", "", style=style) %]</td>
</tr>
+ <tr>
+ <th align=right nowrap>[% 'Shipping Point' | $T8 %]</th>
+ <td>[% L.input_tag("shippingpoint", "", style=style) %]</td>
+ <th align="right">[% 'Ship via' | $T8 %]</th>
+ <td>[% L.input_tag("shipvia", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'Name (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptoname", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'Department 1 (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptodepartment_1", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'Department 2 (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptodepartment_2", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'Street (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptostreet", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'Zipcode (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptozipcode", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'City (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptocity", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align=right nowarp>[% 'Country (Shipping)' | $T8 %]</th>
+ <td>[% L.input_tag("shiptocountry", "", style=style) %]</td>
+ </tr>
+ <tr>
+ <th align="right" nowrap>[% 'Payment Term' | $T8 %]</th>
+ <td>[% L.select_tag('payment_id', ALL_PAYMENT_TERMS, with_empty=1, title_key="description", style=style) %]</td>
+ </tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
- <td>[% P.project.picker("project_id", project_id, style=style) %]</td>
+ <td>[% P.project.picker("project_id", project_id, active="both", valid="both", style=style) %]</td>
</tr>
[% IF ALL_BUSINESS_TYPES.as_list.size > 0 %]
<tr>
[% L.date_tag('duedateto') %]
</td>
</tr>
+ <tr>
+ <th align=right nowrap>[% 'Date Paid' | $T8 %]</th>
+ <td>
+ [% L.date_tag('datepaidfrom') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('datepaidto') %]
+ </td>
+ </tr>
[%- IF CT_CUSTOM_VARIABLES.size %]
<tr>
<td></td>
- <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</td>
+ <td colspan=4 align=left><b>[% 'Custom variables for module' | $T8 %]: [%'Customers and vendors' | $T8 %]</b></td>
</tr>
[% CT_CUSTOM_VARIABLES_FILTER_CODE %]
[%- END %]
- <input type=hidden name=sort value=transdate>
</table>
</td>
</tr>
<td nowrap>[% 'Delivery Order Number' | $T8 %]</td>
<td align=right><input name="l_deliverydate" id="l_deliverydate" class=checkbox type=checkbox value=Y></td>
<td nowrap>[% 'Delivery Date' | $T8 %]</td>
+ </tr>
<tr>
<td align=right><input name="l_netamount" id="l_netamount" class=checkbox type=checkbox value="Y" checked></td>
<td nowrap>[% 'Amount' | $T8 %]</td>
<td nowrap>[% 'direct debit' | $T8 %]</td>
</tr>
<tr>
- <td colspan=4 align=left><b>[% 'Customer' | $T8 %] </td>
+ <td align=right><input name="l_items" id="l_items" class=checkbox type=checkbox value=Y>
+ <td nowrap>[% 'Positions' | $T8 %]</td>
+[% IF INSTANCE_CONF.get_doc_storage -%]
+ <td align=right><input name="l_attachments" id="l_attachments" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Attachments' | $T8 %]</td>
+[% END-%]
+ </tr>
+ <tr>
+ <td colspan=4 align=left><b>[% 'Customer' | $T8 %]</b></td>
</tr>
<tr>
<td align=right><input name="l_customernumber" id="l_customernumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>[% 'Country' | $T8 %]</td>
<td align=right><input name="l_ustid" id="l_ustid" class=checkbox type=checkbox value=Y></td>
<td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
+ <td align=right><input name="l_customer_dunning_lock" id="l_customer_dunning_lock" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Dunning lock' | $T8 %]</td>
+ </tr>
+ <tr>
+ <td colspan=4 align=left><b>[% 'Shipping Address' | $T8 %]</b></td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_shiptoname" id="l_shiptoname" type="checkbox"></td>
+ <td nowrap>[% 'Name' | $T8 %]</td>
+ <td align=right><input name="l_shiptodepartment_1" id="l_shiptodepartment_1" type="checkbox"></td>
+ <td nowrap>[% 'Department 1' | $T8 %]</td>
+ <td align=right><input name="l_shiptodepartment_2" id="l_shiptodepartment_2" type="checkbox"></td>
+ <td nowrap>[% 'Department 2' | $T8 %]</td>
+ </tr>
+ <tr>
+ <td align=right><input name="l_shiptostreet" id="l_shiptostreet" type="checkbox"></td>
+ <td nowrap>[% 'Street' | $T8 %]</td>
+ <td align=right><input name="l_shiptozipcode" id="l_shiptozipcode" type="checkbox"></td>
+ <td nowrap>[% 'Zipcode' | $T8 %]</td>
+ <td align=right><input name="l_shiptocity" id="l_shiptocity" type="checkbox"></td>
+ <td nowrap>[% 'City' | $T8 %]</td>
+ <td align=right><input name="l_shiptocountry" id="l_shiptocountry" type="checkbox"></td>
+ <td nowrap>[% 'Country' | $T8 %]</td>
</tr>
<table>