Kosmetik: Leerzeichen am Zeilenende entfernt.
[kivitendo-erp.git] / templates / webpages / ar / search.html
1 [%- USE T8 %]
2 [%- USE L %]
3
4  <form method=post name="search" action=[% script %]>
5
6   <table width=100% border="0">
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>[% 'Customer' | $T8 %]</th>
14       <td colspan=3>
15             [%- INCLUDE 'generic/multibox.html'
16                  name          = 'customer',
17                  default       = oldcustomer,
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                  class         = 'initial_focus',
27                  -%]
28       </td>
29      </tr>
30      <tr>
31       <th align=right nowrap>[% 'Department' | $T8 %]</th>
32       <td>
33             [%- INCLUDE 'generic/multibox.html'
34                  name          = 'department',
35                  select_name   = 'department_id',
36                  style         = 'width: 250px',
37                  DATA          = ALL_DEPARTMENTS,
38                  id_key        = 'id',
39                  label_key     = 'description',
40                  show_empty    = 1,
41                  allow_textbox = 0,
42             -%]
43       </td>
44      </tr>
45      <tr>
46       <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
47       <td colspan=3><input name=invnumber size=20></td>
48      </tr>
49      <tr>
50       <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
51       <td colspan=3><input name=ordnumber size=20></td>
52      </tr>
53      <tr>
54       <th align="right">[% 'Employee' | $T8 %]</th>
55       <td>[% L.select_tag('employee_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
56      </tr>
57     <tr>
58      <th align="right">[% 'Salesman' | $T8 %]</th>
59      <td>[% L.select_tag('salesman_id', ALL_EMPLOYEES, title_key = 'safe_name', with_empty = 1, style = 'width:250px') %]</td>
60      </tr>
61      <tr>
62       <th align=right nowrap>[% 'Transaction description' | $T8 %]</th>
63       <td colspan=3><input name=transaction_description size=40></td>
64      </tr>
65      <tr>
66       <th align=right nowrap>[% 'Notes' | $T8 %]</th>
67       <td colspan=3><input name=notes size=40></td>
68      </tr>
69      <tr>
70       <th align="right">[% 'Project Number' | $T8 %]</th>
71       <td colspan="3">
72             [%- INCLUDE 'generic/multibox.html'
73                  name          =  'project_id',
74                  style         = "width: 250px",
75                  DATA          =  ALL_PROJECTS,
76                  id_key        = 'id',
77                  label_key     = 'projectnumber',
78                  limit         = vclimit,
79                  show_empty    = 1,
80                  allow_textbox = 0,
81             -%]
82       </td>
83      </tr>
84     [% IF SHOW_BUSINESS_TYPES %]
85      <tr>
86       <th align="right" nowrap>[% 'Customer type' | $T8 %]</th>
87       <td colspan="3">
88           [%- INCLUDE 'generic/multibox.html'
89                  name          =  'business_id',
90                  style         = "width: 250px",
91                  DATA          =  ALL_BUSINESS_TYPES,
92                  id_key        = 'id',
93                  label_key     = 'description',
94                  limit         = vclimit,
95                  show_empty    = 1,
96                  allow_textbox = 0,
97             -%]
98       </td>
99      </tr>
100     [% END %]
101      <tr>
102       <th align=right nowrap>[% 'From' | $T8 %]</th>
103       <td>
104        [% L.date_tag('transdatefrom') %]
105       </td>
106      <th align=right>[% 'Bis' | $T8 %]</th>
107      <td>
108       [% L.date_tag('transdateto') %]
109      </td>
110     </tr>
111    <input type=hidden name=sort value=transdate>
112    </table>
113     </td>
114     </tr>
115     <tr>
116      <td>
117       <table>
118        <tr>
119         <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
120         <td>
121          <table width=100%>
122           <tr>
123            <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
124            <td nowrap>[% 'Open' | $T8 %]</td>
125            <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
126            <td nowrap>[% 'Closed' | $T8 %]</td>
127           </tr>
128           <tr>
129            <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
130            <td nowrap>[% 'ID' | $T8 %]</td>
131            <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
132            <td nowrap>[% 'Invoice Number' | $T8 %]</td>
133            <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
134            <td nowrap>[% 'Order Number' | $T8 %]</td>
135            <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
136            <td nowrap>[% 'Invoice Date' | $T8 %]</td>
137           </tr>
138           <tr>
139            <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
140            <td nowrap>[% 'Customer' | $T8 %]</td>
141            <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
142            <td nowrap>[% 'Customer Number' | $T8 %]</td>
143           </tr>
144           <tr>
145            <td align=right><input name="l_netamount" class=checkbox type=checkbox value="Y" checked></td>
146            <td nowrap>[% 'Amount' | $T8 %]</td>
147            <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
148            <td nowrap>[% 'Tax' | $T8 %]</td>
149            <td align=right><input name="l_amount" class=checkbox type=checkbox value="Y" checked></td>
150            <td nowrap>[% 'Total' | $T8 %]</td>
151           </tr>
152           <tr>
153            <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
154            <td nowrap>[% 'Date Paid' | $T8 %]</td>
155            <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
156            <td nowrap>[% 'Paid' | $T8 %]</td>
157            <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
158            <td nowrap>[% 'Due Date' | $T8 %]</td>
159            <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
160            <td nowrap>[% 'Amount Due' | $T8 %]</td>
161           </tr>
162           <tr>
163            <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
164            <td nowrap>[% 'Notes' | $T8 %]</td>
165            <td align=right><input name="l_salesman" class=checkbox type=checkbox value=Y></td>
166            <td nowrap>[% 'Salesperson' | $T8 %]</td>
167            <td align=right><input name="l_shippingpoint" class=checkbox type=checkbox value=Y></td>
168            <td nowrap>[% 'Shipping Point' | $T8 %]</td>
169            <td align=right><input name="l_shipvia" class=checkbox type=checkbox value=Y></td>
170            <td nowrap>[% 'Ship via' | $T8 %]</td>
171           </tr>
172           <tr>
173            <td align=right><input name="l_marge_total" class=checkbox type=checkbox value=Y></td>
174            <td nowrap> [% 'Ertrag' | $T8 %]</td>
175            <td align=right><input name="l_marge_percent" class=checkbox type=checkbox value=Y></td>
176            <td nowrap> [% 'Ertrag prozentual' | $T8 %]</td>
177            <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
178            <td nowrap>[% 'Employee' | $T8 %]</td>
179           </tr>
180           <tr>
181            <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
182            <td nowrap>[% 'Subtotal' | $T8 %]</td>
183            <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
184            <td nowrap>[% 'Document Project Number' | $T8 %]</td>
185            <td align=right><input name="l_transaction_description" class=checkbox type=checkbox value=Y></td>
186            <td nowrap>[% 'Transaction description' | $T8 %]</td>
187           </tr>
188           <tr>
189            <td colspan=4 align=left><b>[% 'Customer' | $T8 %] </td>
190           </tr>
191           <tr>
192            <td align=right><input name="l_customernumber" class=checkbox type=checkbox value=Y></td>
193            <td nowrap>[% 'Customer Number' | $T8 %]</td>
194            <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
195            <td nowrap>[% 'Country' | $T8 %]</td>
196            <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
197            <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
198            <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
199            <td nowrap>[% 'Steuersatz' | $T8 %]</td>
200           </tr>
201           <tr>
202            <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
203            <td nowrap>[% 'Payment Terms' | $T8 %]</td>
204            <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
205            <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
206           </tr>
207          </table>
208         </td>
209        </tr>
210       </table>
211      </td>
212     </tr>
213     <tr>
214      <td><hr size=3 noshade></td>
215     </tr>
216    </table>
217    <input type=hidden name=nextsub value=[% nextsub %]>
218    <br>
219    <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
220   </form>
221  <script type="text/javascript">
222  <!--
223    $(document).ready(function(){
224     $('customer').focus();
225    })
226  //-->
227  </script>