Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
[kivitendo-erp.git] / templates / webpages / ap / search.html
1 [%- USE T8 %]
2 <body>
3
4  <form method=post name="search" action=[% script %]>
5
6   <table width=100%>
7   <tr><th class=listtop>[% title %]</th></tr>
8   <tr height="5"></tr>
9   <tr>
10    <td>
11     <table>
12      <tr>
13       <th align=right>[% 'Vendor' | $T8 %]</th>
14       <td colspan=3>
15             [%- INCLUDE 'generic/multibox.html'
16                  name          = 'vendor',
17                  default       = oldvendor,
18                  style         = 'width: 250px',
19                  DATA          = ALL_VC,
20                  id_sub        = 'vc_keys',
21                  label_key     = 'name',
22                  select        = vc_select,
23                  limit         = vclimit,
24                  show_empty    = 1,
25                  allow_textbox = 1,
26                  -%]
27       </td>
28      </tr>
29      <tr>
30       <th align=right nowrap>[% 'Department' | $T8 %]</th>
31       <td>
32             [%- INCLUDE 'generic/multibox.html'
33                  name          = 'department',
34                  style         = 'width: 250px',
35                  DATA          = ALL_DEPARTMENTS,
36                  id_key        = 'id',
37                  label_key     = 'description',
38                  show_empty    = 1,
39                  allow_textbox = 0,
40             -%]
41       </td>
42      </tr>
43      <tr>
44       <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
45       <td colspan=3><input name=invnumber size=20></td>
46      </tr>
47      <tr>
48       <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
49       <td colspan=3><input name=ordnumber size=20></td>
50      </tr>
51      <tr>
52       <th align=right nowrap>[% 'Notes' | $T8 %]</th>
53       <td colspan=3><input name=notes size=40></td>
54      </tr>
55      <tr>
56       <th align="right">[% 'Project Number' | $T8 %]</th>
57       <td colspan="3">
58             [%- INCLUDE 'generic/multibox.html'
59                  name          =  'project_id',
60                  style         = "width: 250px",
61                  DATA          =  ALL_PROJECTS,
62                  id_key        = 'id',
63                  label_key     = 'projectnumber',
64                  limit         = vclimit,
65                  show_empty    = 1,
66                  allow_textbox = 0,
67             -%]
68       </td>
69      </tr>
70      <tr>
71       <th align=right nowrap>[% 'From' | $T8 %]</th>
72       <td>
73        <input name=transdatefrom id=transdatefrom size=11 title="dateformat | html %]" onBlur=\"check_right_date_format(this)\">
74        <input type=button name=transdatefrom id="trigger1" value=[% 'button' | $T8 %]>
75       </td>
76      <th align=right>[% 'Bis' | $T8 %]</th>
77      <td>
78       <input name=transdateto id=transdateto size=11 title="[% dateformat | html %]" onBlur=\"check_right_date_format(this)\">
79       <input type=button name=transdateto name=transdateto id="trigger2" value=[% 'button' | $T8 %]>
80      </td>
81     </tr>
82    <input type=hidden name=sort value=transdate>
83    </table>
84     </td>
85     </tr>
86     <tr>
87      <td>
88       <table>
89        <tr>
90         <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
91         <td>
92          <table width=100%>
93           <tr>
94            <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
95            <td nowrap>[% 'Open' | $T8 %]</td>
96            <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
97            <td nowrap>[% 'Closed' | $T8 %]</td>
98           </tr>
99           <tr>
100            <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
101            <td nowrap>[% 'ID' | $T8 %]</td>
102            <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
103            <td nowrap>[% 'Invoice Number' | $T8 %]</td>
104            <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
105            <td nowrap>[% 'Order Number' | $T8 %]</td>
106           </tr>
107           <tr>
108            <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
109            <td nowrap>[% 'Vendor' | $T8 %]</td>
110            <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
111            <td nowrap>[% 'Invoice Date' | $T8 %]</td>
112            <td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
113            <td nowrap>[% 'Amount' | $T8 %]</td>
114           </tr>
115           <tr>
116            <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
117            <td nowrap>[% 'Tax' | $T8 %]</td>
118            <td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
119            <td nowrap>[% 'Total' | $T8 %]</td>
120            <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
121            <td nowrap>[% 'Date Paid' | $T8 %]</td>
122           </tr>
123           <tr>
124            <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
125            <td nowrap>[% 'Paid' | $T8 %]</td>
126            <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
127            <td nowrap>[% 'Due Date' | $T8 %]</td>
128            <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
129            <td nowrap>[% 'Amount Due' | $T8 %]</td>
130           </tr>
131           <tr>
132            <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
133            <td nowrap>[% 'Notes' | $T8 %]</td>
134            <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
135            <td nowrap>[% 'Employee' | $T8 %]</td>
136           </tr>
137           <tr>
138            <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
139            <td nowrap>[% 'Subtotal' | $T8 %]</td>
140            <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
141            <td nowrap>[% 'Document Project Number' | $T8 %]</td>
142          </tr>
143          <tr>
144           <td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
145          </tr>
146          <tr>
147            <td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
148            <td nowrap>[% 'Vendor Number' | $T8 %]</td>
149            <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
150            <td nowrap>[% 'Country' | $T8 %]</td>
151            <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
152            <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
153            <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
154            <td nowrap>[% 'Steuersatz' | $T8 %]</td>
155           </tr>
156           <tr>
157            <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
158            <td nowrap>[% 'Payment Terms' | $T8 %]</td>
159            <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
160            <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
161           </tr>
162          </table>
163         </td>
164        </tr>
165       </table>
166      </td>
167     </tr>
168     <tr>
169      <td><hr size=3 noshade></td>
170     </tr>
171    </table>
172    <input type=hidden name=nextsub value=[% nextsub %]>
173    <br>
174    <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
175   </form>
176  </body>
177  <script type="text/javascript">
178  <!--
179    Calendar.setup( { inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
180    Calendar.setup( { inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger2" });
181    $(document).ready(function(){
182     focus();
183     setupDateFormat('[% dateformat | html %]','[% 'Falsches Datumsformat!' | $T8 %]');
184     setupPoints('[% numberformat | html %]','[% 'wrongformat' | $T8 %]');
185    })
186  //-->
187  </script>
188 </html>