Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a85900cb

Von Hans Peter Schlaepfer vor etwa 6 Jahren hinzugefügt

  • ID a85900cb68a578d89090043534ae79664a4070a9
  • Vorgänger 72c4037d
  • Nachfolger e7c11f83

Preview design 4.0

Unterschiede anzeigen:

templates/webpages/ic/search.html
4 4
[%- USE L %]
5 5
[%- USE P %]
6 6
[% SET style="width: 250px" %]
7
<h1>[% title %]</h1>
8

  
9
 <form method="post" action="ic.pl" id="form">
10

  
11
  <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]">
12
  <input type="hidden" name="title" value="[% HTML.escape(title) %]">
13

  
14
  <input type="hidden" name="revers" value="[% HTML.escape(revers) %]">
15
  <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]">
16

  
17
  <input type="hidden" name="sort" value="description">
18

  
19
  <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
20

  
21
  <table width="100%">
22
   <tr valign="top">
23
    <td>
24
     <table>
25
      <tr>
26
       <th align="right" nowrap>[% 'Part Type' | $T8 %]</th>
27
       <td  colspan="4" ><table><tr>
28
        <td>
29
          <input name="l_part" id="l_part" class="checkbox" type="checkbox" value="Y" checked>
30
          <label for="l_part">[% 'Part' | $T8 %]</label>
31
        </td>
32
        <td>
33
          <input name="l_service" id="l_service" class="checkbox" type="checkbox" value="Y" checked>
34
          <label for="l_service">[% 'Service' | $T8 %]</label>
35
        </td>
36
        <td>
37
          <input name="l_assembly" id="l_assembly" class="checkbox" type="checkbox" value="Y" checked>
38
          <label for="l_assembly">[% 'Assembly' | $T8 %]</label>
39
        </td>
7
<h1>
8
  [% title %]
9
</h1>
10
<form method="post" action="ic.pl" id="form">
11
  <input type="hidden" name="searchitems" value="[% HTML.escape(searchitems) %]"> <input type="hidden" name="title" value="[% HTML.escape(title) %]"> <input type="hidden" name="revers" value="[% HTML.escape(revers) %]"> <input type="hidden" name="lastsort" value="[% HTML.escape(lastsort) %]"> <input type="hidden" name="sort" value="description"> <input type="hidden" name="ndxs_counter" value="[% HTML.escape(ndxs_counter) %]">
12

  
13
<div class="cols">
14

  
15

  
16
  <table class="tbl-horizontal col">
17
    <caption>[% 'Article data' | $T8 %]</caption>
18
    <tr>
19
      <th> [% 'Part Type' | $T8 %] </th>
20
      <td>
21
        <input name="l_part" id="l_part" type="checkbox" value="Y" checked>
22
        <label for="l_part"> [% 'Part' | $T8 %] </label><br>
23
        <input name="l_service" id="l_service" type="checkbox" value="Y" checked>
24
        <label for="l_service"> [% 'Service' | $T8 %] </label><br>
25
        <input name="l_assembly" id="l_assembly" type="checkbox" value="Y" checked>
26
        <label for="l_assembly"> [% 'Assembly' | $T8 %] </label><br>
40 27
        [%- IF INSTANCE_CONF.get_feature_experimental %]
41
        <td>
42
          <input name="l_assortment" id="l_assortment" class="checkbox" type="checkbox" value="Y" checked>
43
          <label for="l_assortment">[% 'Assortment' | $T8 %]</label>
44
        </td>
28
        <input name="l_assortment" id="l_assortment" type="checkbox" value="Y" checked>
29
        <label for="l_assortment"> [% 'Assortment' | $T8 %] </label>
45 30
        [%- END %]
46
       </tr></table></td>
47
      </tr>
48
      <tr>
49
       <th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
50
       <td>[% L.input_tag("partnumber", "", style=style) %]</td>
51
       <th align="right" nowrap>[% 'EAN' | $T8 %]</th>
52
       <td>[% L.input_tag("ean", "", style=style) %]</td>
53
      </tr>
54
      <tr>
55
       <th align="right" nowrap>[% 'Part Classification' | $T8 %]:</th>
56
       <td>[% P.select_classification('classification_id', style=style) %]</td>
57
      </tr>
58
      <tr>
59
       <th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
60
       <td colspan="3">[% L.input_tag("description", "", style=style, class="initial_focus") %]</td>
61
      </tr>
62
      <tr>
63
       <th align="right" nowrap>[% 'Partsgroup' | $T8 %]</th>
64
       <td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, default=partsgroup, title_key="partsgroup", style=style) %]</td>
65
       <th align="right" nowrap>[% 'Serial Number' | $T8 %]</th>
66
       <td>[% L.input_tag("serialnumber", "", style=style) %]</td>
67
      </tr>
68

  
69
      <tr>
70
       <th align="right" nowrap>[% 'Make' | $T8 %]</th>
71
       <td>[% L.input_tag("make", "", style=style) %]</td>
72
       <th align="right" nowrap>[% 'Model' | $T8 %]</th>
73
       <td>[% L.input_tag("model", "", style=style) %]</td>
74
      </tr>
75

  
76
      <tr>
77
       <th align="right" nowrap>[% 'Drawing' | $T8 %]</th>
78
       <td>[% L.input_tag("drawing", "", style=style) %]</td>
79
       <th align="right" nowrap>[% 'Microfiche' | $T8 %]</th>
80
       <td>[% L.input_tag("microfiche", "", style=style) %]</td>
81
      </tr>
82

  
83
      <tr>
84
       <th align="right" nowrap>[% 'Shop article' | $T8 %]</th>
85
       <td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='---', style=style) %]</td>
86
      </tr>
87

  
88
      <tr>
89
       <th align="right">[% 'Insert Date' | $T8 %]</th>
90
       <td>
91
        [% L.date_tag('insertdatefrom') %]
92
        [% 'Bis' | $T8 %]
93
        [% L.date_tag('insertdateto') %]
94
       </td>
95
      </tr>
96

  
97
      [% CUSTOM_VARIABLES_FILTER_CODE %]
31
      </td>
32
    </tr>
33
    <tr>
34
      <th> [% 'Part Number' | $T8 %] </th>
35
      <td> [% L.input_tag("partnumber", "", value='asfasdf', class='wi-mediumsmall') %] </td>
36
    </tr>
37
    <tr>
38
      <th> [% 'Part Description' | $T8 %] </th>
39
      <td> [% L.input_tag("description", "", class='initial_focus wi-lightwide') %] </td>
40
    </tr>
41
    <tr>
42
      <th> [% 'Part Classification' | $T8 %]: </th>
43
      <td> [% P.select_classification('classification_id', class='wi-lightwide', with_empty=1, empty_title='') %] </td>
44
    </tr>
45
    <tr>
46
      <th> [% 'Partsgroup' | $T8 %] </th>
47
      <td> [% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, with_empty=1, empty_title='', default=partsgroup, title_key="partsgroup", class='wi-lightwide') %] </td>
48
    </tr>
49
    <tr>
50
      <th> [% 'Serial Number' | $T8 %] </th>
51
      <td> [% L.input_tag("serialnumber", "", class='wi-mediumsmall') %] </td>
52
    </tr>
53
    <tr>
54
      <th> [% 'EAN' | $T8 %] </th>
55
      <td> [% L.input_tag("ean", "", class='wi-mediumsmall') %] </td>
56
    </tr>
57
    <tr>
58
      <th> [% 'Make' | $T8 %] </th>
59
      <td> [% L.input_tag("make", "", class='wi-lightwide') %] </td>
60
    </tr>
61
    <tr>
62
      <th> [% 'Model' | $T8 %] </th>
63
      <td> [% L.input_tag("model", "", class='wi-mediumsmall') %] </td>
64
    </tr>
65
    <tr>
66
      <th> [% 'Shop article' | $T8 %] </th>
67
      <td> [% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='', class='wi-verysmall') %] </td>
68
    </tr>
69
    [% CUSTOM_VARIABLES_FILTER_CODE %]
70
  </table>
98 71

  
99
      <tr>
100
       <td></td>
101
       <td colspan="3">
102
        [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %]
103
        [% L.radio_button_tag('bom', id='bom_1', value=1,            label=LxERP.t8('Individual Items')) %]
104
       </td>
105
      </tr>
106 72

  
107
      <tr>
108
       <td></td>
109
       <td colspan="3">
73
  <table class="tbl-horizontal col">
74
    <caption> [% 'Scope' | $T8 %]</caption>
75
    <tr>
76
      <th> [% 'Scope' | $T8 %] </th>
77
      <td>
110 78
        [%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
111 79
        [%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
112 80
        [%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
113 81
        [%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
114 82
        [%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
115 83
        [%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
116
       </td>
117
      </tr>
118

  
119
      <tr>
120
       <td></td>
121
       <td colspan="3">
122
        <table>
123
         <tr>
124
          <td>
125
           <table>
126
            <tr>
127
             <td>[%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</td>
128
             <td>[%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</td>
129
            </tr>
130

  
131
            <tr>
132
             <td colspan="2"><hr size="1" noshade></td>
133
            </tr>
134

  
135
            <tr>
136
             <td>[%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</td>
137
             <td>[%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</td>
138
            </tr>
139

  
140
            <tr>
141
             <td colspan="2"><hr size="1" noshade></td>
142
            </tr>
143

  
144
            <tr>
145
             <td>[%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</td>
146
             <td>[%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</td>
147
            </tr>
148
           </table>
149
          </td>
150

  
151
          <td width="5%">&nbsp;</td>
152

  
153
          <td>
154
           <table>
155
            <tr>
156
             <th>[% 'From' | $T8 %]</th>
157
             <td nowrap>[% L.date_tag('transdatefrom') %]</td>
158
             <th>[% 'To (time)' | $T8 %]</th>
159
             <td nowrap>[% L.date_tag('transdateto') %]</td>
160
            </tr>
161
           </table>
162
          </td>
163
         </tr>
164
        </table>
165
       </td>
166
      </tr>
167

  
168
      <tr>
169
       <td></td>
170
       <td colspan="3">
171
        <hr size="1" noshade>
172
       </td>
173
      </tr>
174

  
175
      <tr>
176
       <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
177
        <table>
178
         <tr>
179
          <td>[%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</td>
180
          <td>[%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</td>
181
          <td>[%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</td>
182
          <td>[%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</td>
183
         </tr>
184

  
185
         <tr>
186
          <td>[%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</td>
187
          <td>[%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</td>
188
          <td>[%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</td>
189
          <td>[%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</td>
190
         </tr>
191

  
192
         <tr>
193
          <td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</td>
194
          <td>[%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</td>
195
          <td>[%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</td>
196
          <td>[%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</td>
197
         </tr>
198

  
199
         <tr>
200
          <td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %]</td>
201
          <td>[%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</td>
202
          <td>[%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</td>
203
          <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %]</td>
204
          </td>
205
         </tr>
206

  
207
         <tr>
208
          <td>[%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %]</td>
209
          <td>[%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</td>
210
          <td>[%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</td>
211
          <td>[%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %]</td>
212
         </tr>
213

  
214
         <tr>
215
          <td>[%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</td>
216
          <td>[%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</td>
217
          <td>[%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</td>
218
          <td>[%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</td>
219
         </tr>
220

  
221
         <tr>
222
          <td>[%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</td>
223
          <td>[%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %]</td>
224
          <td>[%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %]</td>
225
          <td>[%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</td>
226
         </tr>
227
         <tr>
228
          <td>[%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %]</td>
229
          <td>[%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %]</td>
230
         </tr>
84
      </td>
85
    </tr>
86
    <tr>
87
      <th> [% 'Composition' | $T8 %] </th>
88
      <td> [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %] <br>
89
      [% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %] </td>
90
    </tr>
91
    <tr>
92
      <th class="caption" colspan="2">[% 'State' | $T8 %]</th>
93
    </tr>
94
    <tr>
95
      <td>
96
        [%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %] <br>
97
        [%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]
98
      </td>
99
      <td>
100
        <div style="float:left;padding-right:3.0em;">
101
          [%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %] <br>
102
          [%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]
103
        </div>
104
        <div style="float:left;">
105
          [%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %] <br>
106
          [%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]
107
        </div>
108
      </td>
109
    </tr>
110
    <tr>
111
      <td colspan="2" nowrap style="vertical-align:middle;">
112
        [% 'From' | $T8 %] [% L.date_tag('transdatefrom') %] [% 'To (time)' | $T8 %]
113
        [% L.date_tag('transdateto') %]
114
      </td>
115
    </tr>
116
    <tr>
117
      <th class="caption" colspan="2"> [% 'Handling' | $T8 %] </th>
118
    </tr>
119
    <tr>
120
      <th> [% 'Insert Date' | $T8 %] </th>
121
      <td>
122
        [% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]
123
      </td>
124
    </tr>
125
    <tr>
126
      <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %] </th>
127
    </tr>
128
    <tr>
129
      <th> [% 'Drawing' | $T8 %] </th>
130
      <td> [% L.input_tag("drawing", "", style=style) %] </td>
131
    </tr>
132
    <tr>
133
      <th> [% 'Microfiche' | $T8 %] </th>
134
      <td> [% L.input_tag("microfiche", "", style=style) %] </td>
135
    </tr>
231 136

  
232
         [% CUSTOM_VARIABLES_INCLUSION_CODE %]
233
        </table>
234
       </td>
235
      </tr>
236
     </table>
237
    </td>
238
   </tr>
239
   <tr><td colspan="4"><hr size="3" noshade></td></tr>
240 137
  </table>
241
 </form>
138
</div>
139

  
140

  
141
<div class="cols">
142

  
143
  <h3 class="caption"> [% 'Include in Report' | $T8 %] </h3>
144

  
145
  <div class="col list">
146
    <h4>[% 'Article info ' | $T8 %]</h4>
147
    <p> [%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %] </p>
148
    <p> [%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %] </p>
149
    <p> [%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %] </p>
150
    <p> [%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %] </p>
151
    <p> [%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %] </p>
152
    <p> [%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Partsgroup'), value='Y') %] </p>
153
    <p> [%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %] </p>
154
    <p> [%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %] </p>
155
    <p> [%- L.checkbox_tag('l_shop', label=LxERP.t8('Shop article'), value='Y') %] </p>
156
    <p> [%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %] </p>
157
    <p> [%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %] </p>
158
    <p> [%- L.checkbox_tag('l_name', label=LxERP.t8('Name in Selected Records'), value='Y') %] </p>
159
    <p> [%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %] </p>
160
  </div>
161

  
162
  <div class="col list">
163
    <h4>[% 'Prices' | $T8 %]</h4>
164
    <p> [%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %] </p>
165
    <p> [%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %] </p>
166
    <p> [%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %] </p>
167
    <p> [%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %] </p>
168
    <p> [%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %] </p>
169
    <p> [%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %] </p>
170
    <p> [%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %] </p>
171
  </div>
172

  
173
  <div class="col list">
174
    <h4>[% 'Handling' | $T8 %]</h4>
175
    <p> [%- L.checkbox_tag('l_insertdate', label=LxERP.t8('Insert Date'), value='Y') %] </p>
176
    <p> [%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %] </p>
177
    <p> [%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate Record'), value='Y') %] </p>
178
  </div>
179

  
180
  <div class="col list">
181
    <h4>[% 'Warehouse' | $T8 %]</h4>
182
    <p> [%- L.checkbox_tag('l_warehouse', label=LxERP.t8('Default Warehouse'), value='Y') %] </p>
183
    <p> [%- L.checkbox_tag('l_bin', label=LxERP.t8('Default Bin'), value='Y') %] </p>
184
    <p> [%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %] </p>
185
    <p> [%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %] </p>
186
  </div>
187

  
188
  <div class="col list">
189
    <h4>[% 'Illustrations' | $T8 %]</h4>
190
    <p> [%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(INSTANCE_CONF.get_parts_listing_image ? 1 : 0)) %] </p>
191
    <p> [%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %] </p>
192
    <p> [%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %] </p>
193
  </div>
194
  [% CUSTOM_VARIABLES_INCLUSION_CODE %]
195
</div>
196

  
197
</form>

Auch abrufbar als: Unified diff