[%- USE T8 %]
-<body>
+[%- USE L %]
+<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>
<th align=right>[% 'Vendor' | $T8 %]</th>
<td colspan=3>
[%- INCLUDE 'generic/multibox.html'
+ id = 'vendor',
name = 'vendor',
default = oldvendor,
style = 'width: 250px',
+ class = 'initial_focus',
DATA = ALL_VC,
id_sub = 'vc_keys',
label_key = 'name',
-%]
</td>
</tr>
+ <tr>
+ <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
+ <td colspan="3">[% L.input_tag("cp_name", '', size=20) %]</td>
+ </tr>
<tr>
<th align=right nowrap>[% 'Department' | $T8 %]</th>
<td>
</tr>
<tr>
<th align=right nowrap>[% 'Notes' | $T8 %]</th>
- <td colspan=3><input name=notes size=40></td>
+ <td><input name=notes size=20></td>
+ <th align="right">[% 'Part Description' | $T8 %]</th>
+ <td><input name="parts_description" size="20"></td>
</tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
- <td colspan="3">
+ <td>
[%- INCLUDE 'generic/multibox.html'
name = 'project_id',
style = "width: 250px",
allow_textbox = 0,
-%]
</td>
+ <th align="right">[% 'Part Number' | $T8 %]</th>
+ <td><input name="parts_partnumber" size="20"></td>
</tr>
<tr>
<th align=right nowrap>[% 'From' | $T8 %]</th>
<td>
- <input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\">
- <input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
+ [% L.date_tag('transdatefrom') %]
</td>
<th align=right>[% 'Bis' | $T8 %]</th>
<td>
- <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\">
- <input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $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">
- <!--
- Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
- Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
- $(document).ready(function(){
- focus();
- setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
- setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');
- })
- //-->
- </script>
-</html>