]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/ic/search.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / ic / search.html
1 [% USE T8 %]
2 [% USE HTML %]
3 [% USE LxERP %]
4 [% USE L %]
5 [% USE P %]
6 [% SET style="width: 250px" %]
7
8 [% INCLUDE 'common/flash.html' %]
9
10 <h1>[% title %]</h1>
11
12 <form method="post" action="ic.pl" id="form">
13   <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]">
14   <input type="hidden" name="title" value="[% HTML.escape(title) %]">
15   <input type="hidden" name="revers" value="[% HTML.escape(revers) %]">
16   <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]">
17   <input type="hidden" name="sort" value="description">
18   <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
19
20   <div class="wrapper">
21
22   <table class="tbl-horizontal">
23     <caption>[% 'Article data' | $T8 %]</caption>
24     <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
25     <tbody>
26       <tr>
27         <th>[% 'Part Type' | $T8 %]</th>
28         <td>
29           <input name="l_part" id="l_part" type="checkbox" value="Y" checked>
30           <label for="l_part"> [% 'Part' | $T8 %] </label><br>
31           <input name="l_service" id="l_service" type="checkbox" value="Y" checked>
32           <label for="l_service"> [% 'Service' | $T8 %] </label><br>
33           <input name="l_assembly" id="l_assembly" type="checkbox" value="Y" checked>
34           <label for="l_assembly"> [% 'Assembly' | $T8 %] </label><br>
35           <input name="l_assortment" id="l_assortment" type="checkbox" value="Y" checked>
36           <label for="l_assortment"> [% 'Assortment' | $T8 %] </label>
37         </td>
38       </tr>
39       <tr>
40         <th>[% 'Part Number' | $T8 %]</th>
41         <td>[% L.input_tag("partnumber", "", value='asfasdf', class='wi-mediumsmall') %]</td>
42       </tr>
43       <tr>
44         <th>[% 'Part Description' | $T8 %]</th>
45         <td>[% L.input_tag("description", "", class='initial_focus wi-lightwide') %]</td>
46       </tr>
47       <tr>
48         <th>[% 'Notes' | $T8 %]</th>
49         <td>[% L.input_tag("notes", "", class='wi-lightwide') %]</td>
50       </tr>
51       <tr>
52         <th>[% 'Part Classification' | $T8 %]</th>
53         <td>[% P.part.select_classification('classification_id', class='wi-lightwide', with_empty=1, empty_title='') %]</td>
54       </tr>
55       <tr>
56         <th>[% 'Partsgroup' | $T8 %]</th>
57         <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, empty_title='', default=partsgroup, title_key="partsgroup", class='wi-lightwide') %]</td>
58       </tr>
59       <tr>
60         <th>[% 'Serial Number' | $T8 %]</th>
61         <td>[% L.input_tag("serialnumber", "", class='wi-mediumsmall') %]</td>
62       </tr>
63       <tr>
64         <th>[% 'EAN' | $T8 %]</th>
65         <td>[% L.input_tag("ean", "", class='wi-mediumsmall') %]</td>
66       </tr>
67       <tr>
68         <th>[% 'Make' | $T8 %]</th>
69         <td>[% L.input_tag("make", "", class='wi-mediumsmall') %]</td>
70       </tr>
71       <tr>
72         <th>[% 'Model' | $T8 %]</th>
73         <td>[% L.input_tag("model", "", class='wi-mediumsmall') %]</td>
74       </tr>
75       <tr>
76         <th>[% 'Shop article' | $T8 %]</th>
77         <td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='', class='wi-mediumsmall') %]</td>
78       </tr>
79       [% CUSTOM_VARIABLES_FILTER_CODE %]
80       <tr>
81         <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %]</th>
82       </tr>
83       <tr>
84         <th>[% 'Drawing' | $T8 %]</th>
85         <td>[% L.input_tag("drawing", "", class="wi-wide") %]</td>
86       </tr>
87       <tr>
88         <th>[% 'Microfiche' | $T8 %]</th>
89         <td>[% L.input_tag("microfiche", "", class="wi-wide") %]</td>
90       </tr>
91     </tbody>
92   </table>
93
94   <table class="tbl-horizontal">
95     <caption> [% 'Options' | $T8 %]</caption>
96     <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
97     <tbody>
98       <tr>
99         <td colspan="2">
100           [% L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]<br>
101           [% L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]<br>
102           [% L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]<br>
103           [% L.radio_button_tag('itemstatus', value='order_locked', id='itemstatus_order_locked', label=LxERP.t8('Do not order anymore')) %]<br>
104           [% L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]<br>
105           [% L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]<br>
106           [% L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
107         </td>
108       </tr>
109       <tr>
110         <th class="caption" colspan="2">[% 'Assemblies' | $T8 %]</th>
111       </tr>
112       <tr>
113         <td colspan="2">
114           [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %]<br>
115           [% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %]<br>
116           [% L.radio_button_tag('bom', id='bom_2', value=2, label=LxERP.t8('Search for Items used in Assemblies')) %]
117         </td>
118       </tr>
119       <tr>
120         <th class="caption" colspan="2">[% 'Status' | $T8 %]</th>
121       </tr>
122       <tr>
123         <td colspan="2">
124           <div class="list wi-verysmall col">
125             <div class="field">[% L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</div>
126             <div class="field">[% L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</div>
127           </div>
128           <div class="list wi-mediumsmall col">
129             <div class="field">[% L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</div>
130             <div class="field">[% L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</div>
131           </div>
132           <div class="list wi-verysmall col">
133             <div class="field">[% L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</div>
134             <div class="field">[% L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</div>
135           </div>
136         </td>
137       </tr>
138       <tr>
139         <td class="wi-date" colspan="2" style="vertical-align:middle;padding-top:1.2em;">
140           [% 'From' | $T8 %]
141           [% L.date_tag('transdatefrom') %]
142           [% 'To (time)' | $T8 %]
143           [% L.date_tag('transdateto') %]
144         </td>
145       </tr>
146     </tbody>
147   </table>
148   <table class="tbl-horizontal">
149     <caption>[% 'Handling' | $T8 %]</caption>
150     <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
151     <tbody>
152       <tr>
153         <th>[% 'Insert Date' | $T8 %]</th>
154         <td class="wi-date">[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]</td>
155       </tr>
156     </tbody>
157   </table>
158 </div><!-- /.wrapper -->
159
160
161 <div class="wrapper form-addition control-panel">
162
163   <h3 class="caption"> [% 'Include in Report' | $T8 %] </h3>
164   <!-- PENDENT: Klasse col noetig in form-adddition -->
165   <div class="col list">
166     <h4>[% 'Article' | $T8 %]</h4>
167     <p>[% L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</p>
168     <p>[% L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</p>
169     <p>[% L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</p>
170     <p>[% L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</p>
171     <p>[% L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</p>
172     <p>[% L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</p>
173     <p>[% L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</p>
174     <p>[% L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</p>
175     <p>[% L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</p>
176     <p>[% L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</p>
177     <p>[% L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</p>
178     <p>[% L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</p>
179     <p>[% L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</p>
180   </div>
181
182   <div class="col list">
183     <h4>[% 'Prices' | $T8 %]</h4>
184     <p>[% L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</p>
185     <p>[% L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</p>
186     <p>[% L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</p>
187     <p>[% L.checkbox_tag('l_priceupdate', label=LxERP.t8('Price updated'), value='Y') %]</p>
188     <p>[% L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</p>
189     <p>[% L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</p>
190     <p>[% L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</p>
191     <p>[% L.checkbox_tag('l_price_factor_description', label=LxERP.t8('Price Factor'), value='Y') %]</p>
192   </div>
193
194   <div class="col list">
195     <h4>[% 'Handling' | $T8 %]</h4>
196     <p>[% L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</p>
197     <p>[% L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</p>
198     <p>[% L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</p>
199     <p>&nbsp;</p>
200     <h4>[% 'Vendor' | $T8 %]</h4>
201     <p>[% L.checkbox_tag('l_make', label=LxERP.t8('Make'), value='Y') %]</p>
202     <p>[% L.checkbox_tag('l_model', label=LxERP.t8('Model'), value='Y') %]</p>
203   </div>
204
205   <div class="col list">
206     <h4>[% 'Warehouse' | $T8 %]</h4>
207     <p>[% L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</p>
208     <p>[% L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</p>
209     <p>[% L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</p>
210     <p>[% L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</p>
211   </div>
212
213   <div class="col list">
214     <h4>[% 'Illustrations' | $T8 %]</h4>
215     <p>[% L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</p>
216     <p>[% L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</p>
217     <p>[% L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</p>
218   </div>
219
220   [% IF CUSTOM_VARIABLES_INCLUSION_CODE %]
221     <div class="col list">
222       <h4>[% 'Custom Variables' | $T8 %] </h4>
223       [% CUSTOM_VARIABLES_INCLUSION_CODE %]
224     </div>
225   [% END %]
226
227 </div><!-- ./wrapper.form-addition -->
228
229 </form>