Falls ein Artikel nicht gefunden wird, kann gleich in die Erfassung gegangen werden
[kivitendo-erp.git] / templates / webpages / ap / search.html
1 [%- USE T8 %]
2 [%- USE L %]
3 <h1>[% title %]</h1>
4
5  <form method=post name="search" action=[% script %]>
6
7   <table width=100%>
8   <tr>
9    <td>
10     <table>
11      <tr>
12       <th align=right>[% 'Vendor' | $T8 %]</th>
13       <td colspan=3>
14             [%- INCLUDE 'generic/multibox.html'
15                  id            = 'vendor',
16                  name          = 'vendor',
17                  default       = oldvendor,
18                  style         = 'width: 250px',
19                  class         = 'initial_focus',
20                  DATA          = ALL_VC,
21                  id_sub        = 'vc_keys',
22                  label_key     = 'name',
23                  select        = vc_select,
24                  limit         = vclimit,
25                  show_empty    = 1,
26                  allow_textbox = 1,
27                  -%]
28       </td>
29      </tr>
30     <tr>
31      <th align="right" nowrap>[% 'Contact Person' | $T8 %]</th>
32      <td colspan="3">[% L.input_tag("cp_name", '', size=20) %]</td>
33     </tr>
34      <tr>
35       <th align=right nowrap>[% 'Department' | $T8 %]</th>
36       <td colspan=3>[% L.select_tag('department_id', ALL_DEPARTMENTS, title_key = 'description', with_empty = 1, style="width: 200px") %]</td>
37      </tr>
38      <tr>
39       <th align=right nowrap>[% 'Invoice Number' | $T8 %]</th>
40       <td colspan=3><input name=invnumber size=20></td>
41      </tr>
42      <tr>
43       <th align=right nowrap>[% 'Order Number' | $T8 %]</th>
44       <td colspan=3><input name=ordnumber size=20></td>
45      </tr>
46      <tr>
47       <th align=right nowrap>[% 'Notes' | $T8 %]</th>
48       <td><input name=notes size=20></td>
49       <th align="right">[% 'Part Description' | $T8 %]</th>
50       <td><input name="parts_description" size="20"></td>
51      </tr>
52      <tr>
53       <th align="right">[% 'Project Number' | $T8 %]</th>
54       <td>
55             [%- INCLUDE 'generic/multibox.html'
56                  name          =  'project_id',
57                  style         = "width: 250px",
58                  DATA          =  ALL_PROJECTS,
59                  id_key        = 'id',
60                  label_key     = 'projectnumber',
61                  limit         = vclimit,
62                  show_empty    = 1,
63                  allow_textbox = 0,
64             -%]
65       </td>
66       <th align="right">[% 'Part Number' | $T8 %]</th>
67       <td><input name="parts_partnumber" size="20"></td>
68      </tr>
69      <tr>
70       <th align=right nowrap>[% 'From' | $T8 %]</th>
71       <td>
72        [% L.date_tag('transdatefrom') %]
73       </td>
74      <th align=right>[% 'Bis' | $T8 %]</th>
75      <td>
76       [% L.date_tag('transdateto') %]
77      </td>
78     </tr>
79    <input type=hidden name=sort value=transdate>
80    </table>
81     </td>
82     </tr>
83     <tr>
84      <td>
85       <table>
86        <tr>
87         <th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
88         <td>
89          <table width=100%>
90           <tr>
91            <td align=right><input name=open class=checkbox type=checkbox value=Y checked></td>
92            <td nowrap>[% 'Open' | $T8 %]</td>
93            <td align=right><input name=closed class=checkbox type=checkbox value=Y></td>
94            <td nowrap>[% 'Closed' | $T8 %]</td>
95           </tr>
96           <tr>
97            <td align=right><input name="l_id" class=checkbox type=checkbox value=Y></td>
98            <td nowrap>[% 'ID' | $T8 %]</td>
99            <td align=right><input name="l_invnumber" class=checkbox type=checkbox value=Y checked></td>
100            <td nowrap>[% 'Invoice Number' | $T8 %]</td>
101            <td align=right><input name="l_ordnumber" class=checkbox type=checkbox value=Y></td>
102            <td nowrap>[% 'Order Number' | $T8 %]</td>
103           </tr>
104           <tr>
105            <td align=right><input name="l_name" class=checkbox type=checkbox value=Y checked></td>
106            <td nowrap>[% 'Vendor' | $T8 %]</td>
107            <td align=right><input name="l_transdate" class=checkbox type=checkbox value=Y checked></td>
108            <td nowrap>[% 'Invoice Date' | $T8 %]</td>
109            <td align=right><input name="l_netamount" class=checkbox type=checkbox value=Y></td>
110            <td nowrap>[% 'Amount' | $T8 %]</td>
111           </tr>
112           <tr>
113            <td align=right><input name="l_tax" class=checkbox type=checkbox value=Y></td>
114            <td nowrap>[% 'Tax' | $T8 %]</td>
115            <td align=right><input name="l_amount" class=checkbox type=checkbox value=Y checked></td>
116            <td nowrap>[% 'Total' | $T8 %]</td>
117            <td align=right><input name="l_datepaid" class=checkbox type=checkbox value=Y></td>
118            <td nowrap>[% 'Date Paid' | $T8 %]</td>
119           </tr>
120           <tr>
121            <td align=right><input name="l_paid" class=checkbox type=checkbox value=Y checked></td>
122            <td nowrap>[% 'Paid' | $T8 %]</td>
123            <td align=right><input name="l_duedate" class=checkbox type=checkbox value=Y></td>
124            <td nowrap>[% 'Due Date' | $T8 %]</td>
125            <td align=right><input name="l_due" class=checkbox type=checkbox value=Y></td>
126            <td nowrap>[% 'Amount Due' | $T8 %]</td>
127           </tr>
128           <tr>
129            <td align=right><input name="l_notes" class=checkbox type=checkbox value=Y></td>
130            <td nowrap>[% 'Notes' | $T8 %]</td>
131            <td align=right><input name="l_employee" class=checkbox type=checkbox value=Y></td>
132            <td nowrap>[% 'Employee' | $T8 %]</td>
133           </tr>
134           <tr>
135            <td align=right><input name="l_subtotal" class=checkbox type=checkbox value=Y></td>
136            <td nowrap>[% 'Subtotal' | $T8 %]</td>
137            <td align=right><input name="l_globalprojectnumber" class=checkbox type=checkbox value=Y></td>
138            <td nowrap>[% 'Document Project Number' | $T8 %]</td>
139          </tr>
140           <tr>
141            <td align=right><input name="l_taxzone" class=checkbox type=checkbox value=Y></td>
142            <td nowrap>[% 'Steuersatz' | $T8 %]</td>
143            <td align=right><input name="l_payment_terms" class=checkbox type=checkbox value=Y></td>
144            <td nowrap>[% 'Payment Terms' | $T8 %]</td>
145            <td align=right><input name="l_charts" class=checkbox type=checkbox value=Y></td>
146            <td nowrap>[% 'Buchungskonto' | $T8 %]</td>
147            <td align=right><input name="l_direct_debit" id="l_direct_debit" class=checkbox type=checkbox value=Y></td>
148            <td nowrap>[% 'direct debit' | $T8 %]</td>
149           </tr>
150          <tr>
151           <td colspan=4 align=left><b>[% 'Vendor' | $T8 %] </td>
152          </tr>
153          <tr>
154            <td align=right><input name="l_vendornumber" class=checkbox type=checkbox value=Y></td>
155            <td nowrap>[% 'Vendor Number' | $T8 %]</td>
156            <td align=right><input name="l_country" class=checkbox type=checkbox value=Y></td>
157            <td nowrap>[% 'Country' | $T8 %]</td>
158            <td align=right><input name="l_ustid" class=checkbox type=checkbox value=Y></td>
159            <td nowrap>[% 'USt-IdNr.' | $T8 %]</td>
160           </tr>
161          </table>
162         </td>
163        </tr>
164       </table>
165      </td>
166     </tr>
167     <tr>
168      <td><hr size=3 noshade></td>
169     </tr>
170    </table>
171    <input type=hidden name=nextsub value=[% nextsub %]>
172    <br>
173    <input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
174   </form>