[%- USE T8 %]
-[%- USE L %]
-<body>
+[%- USE L %][%- USE P -%]
+[% SET style="width: 250px" %]
+<h1>[% title %]</h1>
<form method=post name="search" action=[% script %]>
<table width=100%>
- <tr><th class=listtop>[% title %]</th></tr>
- <tr height="5"></tr>
<tr>
<td>
<table>
<tr>
<th align=right>[% 'Vendor' | $T8 %]</th>
- <td colspan=3>
- [%- INCLUDE 'generic/multibox.html'
- name = 'vendor',
- default = oldvendor,
- style = 'width: 250px',
- DATA = ALL_VC,
- id_sub = 'vc_keys',
- label_key = 'name',
- select = vc_select,
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 1,
- -%]
- </td>
+ <td>[% L.input_tag("vendor", vendor, style=style, class="initial_focus") %]</td>
</tr>
+ <tr>
+ <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
+ <td>[% L.input_tag("cp_name", '', style=style) %]</td>
+ </tr>
<tr>
<th align=right nowrap>[% 'Department' | $T8 %]</th>
- <td>
- [%- INCLUDE 'generic/multibox.html'
- name = 'department',
- style = 'width: 250px',
- DATA = ALL_DEPARTMENTS,
- id_key = 'id',
- label_key = 'description',
- show_empty = 1,
- allow_textbox = 0,
- -%]
- </td>
+ <td>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style=style) %]</td>
</tr>
<tr>
<th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
- <td colspan=3><input name=invnumber size=20></td>
+ <td>[% L.input_tag("invnumber", "", style=style) %]</td>
</tr>
<tr>
<th align=right nowrap>[% 'Order Number' | $T8 %]</th>
- <td colspan=3><input name=ordnumber size=20></td>
+ <td>[% L.input_tag("ordnumber", "", style=style) %]</td>
</tr>
<tr>
<th align=right nowrap>[% 'Notes' | $T8 %]</th>
- <td colspan=3><input name=notes size=40></td>
+ <td>[% L.input_tag("notes", "", style=style) %]</td>
+ <th align="right">[% 'Part Description' | $T8 %]</th>
+ <td>[% L.input_tag("parts_description", "", style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
- <td colspan="3">
- [%- INCLUDE 'generic/multibox.html'
- name = 'project_id',
- style = "width: 250px",
- DATA = ALL_PROJECTS,
- id_key = 'id',
- label_key = 'projectnumber',
- limit = vclimit,
- show_empty = 1,
- allow_textbox = 0,
- -%]
- </td>
+ <td>[% P.project_picker("project_id", project_id, 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>[% 'From' | $T8 %]</th>
+ <th align=right nowrap>[% 'Invoice Date' | $T8 %]</th>
<td>
[% L.date_tag('transdatefrom') %]
- </td>
- <th align=right>[% 'Bis' | $T8 %]</th>
- <td>
- [% L.date_tag('transdateto') %]
+ [% 'Bis' | $T8 %]
+ [% L.date_tag('transdateto') %]
</td>
</tr>
<input type=hidden name=sort value=transdate>
<td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
<td nowrap>[% 'Document Project Number' | $T8 %]</td>
</tr>
+ <tr>
+ <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Steuersatz' | $T8 %]</td>
+ <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Payment Terms' | $T8 %]</td>
+ <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
+ <td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td>
+ <td nowrap>[% 'direct debit' | $T8 %]</td>
+ </tr>
<tr>
<td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
</tr>
<td nowrap>[% 'Country' | $T8 %]</td>
<td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
<td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
- <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
- <td nowrap>[% 'Steuersatz' | $T8 %]</td>
- </tr>
- <tr>
- <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
- <td nowrap>[% 'Payment Terms' | $T8 %]</td>
- <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
- <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
</tr>
</table>
</td>
<br>
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
</form>
- </body>
- <script type="text/javascript">
- <!--
- $(document).ready(function(){
- focus();
- setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
- setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');
- })
- //-->
- </script>
-</html>