Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4f97d578

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 4f97d578f0ea0104fcd5cc63ed96622d89f6fceb
  • Vorgänger 5324155e
  • Nachfolger 1df09f01

Artikelsuchmaske auf L.checkbox_tag/L.radio_button_tag umgestellt

Unterschiede anzeigen:

templates/webpages/ic/search.html
73 73
      <tr>
74 74
       <td></td>
75 75
       <td colspan="3">
76
        <input name="null" id="null_1" class="radio" type="radio" value="1" checked>&nbsp;<label for="null_1">[% 'Top Level' | $T8 %]</label>
77
        <input name="bom" id="bom" class="checkbox" type="checkbox" value="1">&nbsp;<label for="bom">[% 'Individual Items' | $T8 %]</label>
76
        [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %]
77
        [% L.radio_button_tag('bom', id='bom_1', value=1,            label=LxERP.t8('Individual Items')) %]
78 78
       </td>
79 79
      </tr>
80 80
      [%- END %]
......
82 82
      <tr>
83 83
       <td></td>
84 84
       <td colspan="3">
85
        <input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
86
        <label for="itemstatus_active">[% 'Active' | $T8 %]</label>
87
        <input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
85
        [%- L.radio_button_tag('itemstatus', value='active', id='itemstatus_active', label=LxERP.t8('Active'), checked=1) %]
88 86
      [%- UNLESS is_service %]
89
        <label for="itemstatus_onhand">[% 'On Hand' | $T8 %]</label>
90
        <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
91
        <label for="itemstatus_short">[% 'Short' | $T8 %]</label>
92
        <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
87
        [%- L.radio_button_tag('itemstatus', value='onhand', id='itemstatus_onhand', label=LxERP.t8('On Hand')) %]
88
        [%- L.radio_button_tag('itemstatus', value='short', id='itemstatus_short', label=LxERP.t8('Short')) %]
89
        [%- L.radio_button_tag('itemstatus', value='obsolete', id='itemstatus_obsolete', label=LxERP.t8('Obsolete')) %]
93 90
      [%- END %]
94
        <label for="itemstatus_obsolete">[% 'Obsolete' | $T8 %]</label>
95
        <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
96
        <label for="itemstatus_orphaned">[% 'Orphaned' | $T8 %]</label>
97
        <input name="itemstatus" id="itemstatus_all" class="radio" type="radio" value="">
98
        <label for="itemstatus_all">[% 'All' | $T8 %]</label>
91
        [%- L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]
92
        [%- L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
99 93
       </td>
100 94
      </tr>
101 95

  
......
108 102
           <table>
109 103
            <tr>
110 104
             [%- UNLESS is_assembly %]
111
             <td><input name="bought" id="bought" class="checkbox" type="checkbox" value="1"></td>
112
             <td nowrap><label for="bought">[% 'Bought' | $T8 %]</label></td>
105
             <td>[%- L.checkbox_tag('bought', label=LxERP.t8('Bought')) %]</td>
113 106
             [%- END %]
114
             <td><input name="sold" id="sold" class="checkbox" type="checkbox" value="1"></td>
115
             <td nowrap><label for="sold">[% 'Sold' | $T8 %]</label></td>
107
             <td>[%- L.checkbox_tag('sold', label=LxERP.t8('Sold')) %]</td>
116 108
            </tr>
117 109

  
118 110
            <tr>
119
             <td colspan="4"><hr size="1" noshade></td>
111
             <td colspan="2"><hr size="1" noshade></td>
120 112
            </tr>
121 113

  
122 114
            <tr>
123 115
             [%- UNLESS is_assembly %]
124
             <td><input name="onorder" id="onorder" class="checkbox" type="checkbox" value="1"></td>
125
             <td nowrap><label for="onorder">[% 'On Order' | $T8 %]</label></td>
116
             <td>[%- L.checkbox_tag('onorder', label=LxERP.t8('On Order')) %]</td>
126 117
             [%- END %]
127
             <td><input name="ordered" id="ordered" class="checkbox" type="checkbox" value="1"></td>
128
             <td nowrap><label for="ordered">[% 'Ordered' | $T8 %]</label></td>
118
             <td>[%- L.checkbox_tag('ordered', label=LxERP.t8('Ordered')) %]</td>
129 119
            </tr>
130 120

  
131 121
            <tr>
132
             <td colspan="4"><hr size="1" noshade></td>
122
             <td colspan="2"><hr size="1" noshade></td>
133 123
            </tr>
134 124

  
135 125
            <tr>
136 126
             [%- UNLESS is_assembly %]
137
             <td><input name="rfq" id="rfq" class="checkbox" type="checkbox" value="1"></td>
138
             <td nowrap><label for="rfq">[% 'RFQ' | $T8 %]</label></td>
127
             <td>[%- L.checkbox_tag('rfq', label=LxERP.t8('RFQ')) %]</td>
139 128
             [%- END %]
140
             <td><input name="quoted" id="quoted" class="checkbox" type="checkbox" value="1"></td>
141
             <td nowrap><label for="quoted">[% 'Quoted' | $T8 %]</label></td>
129
             <td>[%- L.checkbox_tag('quoted', label=LxERP.t8('Quoted')) %]</td>
142 130
            </tr>
143 131
           </table>
144 132
          </td>
......
149 137
           <table>
150 138
            <tr>
151 139
             <th>[% 'From' | $T8 %]</th>
152
             <td>[% L.date_tag('transdatefrom') %]</td>
140
             <td nowrap>[% L.date_tag('transdatefrom') %]</td>
153 141
             <th>[% 'To (time)' | $T8 %]</th>
154
             <td>[% L.date_tag('transdateto') %]</td>
142
             <td nowrap>[% L.date_tag('transdateto') %]</td>
155 143
            </tr>
156 144
           </table>
157 145
          </td>
......
171 159
       <th align="right" nowrap>[% 'Include in Report' | $T8 %]</th> <td colspan="3">
172 160
        <table>
173 161
         <tr>
174
          <td>
175
           <input name="l_partnumber" id="l_partnumber" class="checkbox" type="checkbox" value="Y" checked>
176
           <label for="l_partnumber">[% 'Part Number' | $T8 %]</label>
177
          </td>
178
          <td>
179
           <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
180
           <label for="l_description">[% 'Part Description' | $T8 %]</label>
181
          </td>
162
          <td>[%- L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</td>
163
          <td>[%- L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</td>
182 164
      [%- UNLESS is_service %]
183
          <td>
184
           <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
185
           <label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
186
          </td>
165
          <td>[%- L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</td>
187 166
      [%- END %]
188
          <td>
189
           <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
190
           <label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
191
          </td>
167
          <td>[%- L.checkbox_tag('l_unit', label=LxERP.t8('Unit of measure'), value='Y', checked=1) %]</td>
192 168
         </tr>
193 169

  
194 170
         <tr>
195
          <td>
196
           <input name="l_listprice" id="l_listprice" class="checkbox" type="checkbox" value="Y">
197
           <label for="l_listprice">[% 'List Price' | $T8 %]</label>
198
          </td>
199
          <td>
200
           <input name="l_sellprice" id="l_sellprice" class="checkbox" type="checkbox" value="Y" checked>
201
           <label for="l_sellprice">[% 'Sell Price' | $T8 %]</label>
202
          </td>
203
          <td>
204
           <input name="l_lastcost" id="l_lastcost" class="checkbox" type="checkbox" value="Y" checked>
205
           <label for="l_lastcost">[% 'Last Cost' | $T8 %]</label>
206
          </td>
207
          <td>
208
           <input name="l_linetotal" id="l_linetotal" class="checkbox" type="checkbox" value="Y" checked>
209
           <label for="l_linetotal">[% 'Line Total' | $T8 %]</label>
210
          </td>
171
          <td>[%- L.checkbox_tag('l_listprice', label=LxERP.t8('List Price'), value='Y') %]</td>
172
          <td>[%- L.checkbox_tag('l_sellprice', label=LxERP.t8('Sell Price'), value='Y', checked=1) %]</td>
173
          <td>[%- L.checkbox_tag('l_lastcost', label=LxERP.t8('Last Cost'), value='Y', checked=1) %]</td>
174
          <td>[%- L.checkbox_tag('l_linetotal', label=LxERP.t8('Line Total'), value='Y', checked=1) %]</td>
211 175
         </tr>
212 176

  
213 177
         <tr>
214
          <td>
215
           <input name="l_priceupdate" id="l_priceupdate" class="checkbox" type="checkbox" value="Y">
216
           <label for="l_priceupdate">[% 'Updated' | $T8 %]</label>
217
          </td>
218
          <td>
178
          <td>[%- L.checkbox_tag('l_priceupdate', label=LxERP.t8('Updated'), value='Y') %]</td>
219 179
          <!-- auskommentiert fuer bug nummer 852 - ggf. fuer einen standardlagerplatz verwertet jb 18.5.09-->
220
           <!--input name="l_bin" id="l_bin" class="checkbox" type="checkbox" value="Y">
221
           <label for="l_bin">[% 'Bin' | $T8 %]</label -->
222
           <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
223
           <label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
224
          </td>
180
          <!-- <td>[%#- L.checkbox_tag('l_bin', label=LxERP.t8('Bin'), value='Y') %]</td> -->
181
          <td>[%- L.checkbox_tag('l_deliverydate', label=LxERP.t8('Delivery Date'), value='Y') %]</td>
225 182
      [%- UNLESS is_service %]
226
          <td>
227
           <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
228
           <label for="l_rop">[% 'ROP' | $T8 %]</label>
229
          </td>
230
          <td>
231
           <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
232
           <label for="l_weight">[% 'Weight' | $T8 %]</label>
233
          </td>
183
          <td>[%- L.checkbox_tag('l_rop', label=LxERP.t8('ROP'), value='Y') %]</td>
184
          <td>[%- L.checkbox_tag('l_weight', label=LxERP.t8('Weight'), value='Y') %]</td>
234 185
      [%- END %]
235 186
         </tr>
236 187

  
237 188
         <tr>
238
          <td>
239
           <input name="l_image" id="l_image" class="checkbox"[%- IF conf_parts_listing_images %] checked="checked"[% END %] type="checkbox" value="Y">
240
           <label for="l_image">[% 'Image' | $T8 %]</label>
241
          </td>
242
          <td>
243
           <input name="l_drawing" id="l_drawing" class="checkbox" type="checkbox" value="Y">
244
           <label for="l_drawing">[% 'Drawing' | $T8 %]</label>
245
          </td>
246
          <td>
247
           <input name="l_microfiche" id="l_microfiche" class="checkbox" type="checkbox" value="Y">
248
           <label for="l_microfiche">[% 'Microfiche' | $T8 %]</label>
249
          </td>
250
          <td>
251
           <input name="l_partsgroup" id="l_partsgroup" class="checkbox" type="checkbox" value="Y">
252
           <label for="l_partsgroup">[% 'Group' | $T8 %]</label>
189
          <td>[%- L.checkbox_tag('l_image', label=LxERP.t8('Image'), value='Y', checked=(conf_parts_listing_images ? 1 : 0)) %]</td>
190
          <td>[%- L.checkbox_tag('l_drawing', label=LxERP.t8('Drawing'), value='Y') %]</td>
191
          <td>[%- L.checkbox_tag('l_microfiche', label=LxERP.t8('Microfiche'), value='Y') %]</td>
192
          <td>[%- L.checkbox_tag('l_partsgroup', label=LxERP.t8('Group'), value='Y') %]</td>
253 193
          </td>
254 194
         </tr>
255 195

  
256 196
         <tr>
257
          <td>
258
           <input name="l_transdate" id="l_transdate" class="checkbox" type="checkbox" value="Y">
259
           <label for="l_transdate">[% 'Transdate' | $T8 %]</label>
260
          </td>
261
          <td>
262
           <input name="l_subtotal" id="l_subtotal" class="checkbox" type="checkbox" value="Y">
263
           <label for="l_subtotal">[% 'Subtotal' | $T8 %]</label>
264
          </td>
265
          <td>
266
           <input name="l_soldtotal" id="l_soldtotal" class="checkbox" type="checkbox" value="Y">
267
           <label for="l_soldtotal">[% 'Qty in Selected Records' | $T8 %]</label>
268
          </td>
269
          <td>
270
           <input name="l_ean" id="l_ean" class="checkbox" type="checkbox" value="Y">
271
           <label for="l_ean">[% 'EAN' | $T8 %]</label>
272
          </td>
197
          <td>[%- L.checkbox_tag('l_transdate', label=LxERP.t8('Transdate'), value='Y') %]</td>
198
          <td>[%- L.checkbox_tag('l_subtotal', label=LxERP.t8('Subtotal'), value='Y') %]</td>
199
          <td>[%- L.checkbox_tag('l_soldtotal', label=LxERP.t8('Qty in Selected Records'), value='Y') %]</td>
200
          <td>[%- L.checkbox_tag('l_ean', label=LxERP.t8('EAN'), value='Y') %]</td>
273 201
         </tr>
274 202

  
275 203
         <tr>
276 204
      [%- UNLESS is_service %]
277
          <td>
278
           <input name="l_onhand" id="l_onhand" class="checkbox" type="checkbox" value="Y">
279
           <label for="l_onhand">[% 'Stocked Qty' | $T8 %]</label>
280
          </td>
205
          <td>[%- L.checkbox_tag('l_onhand', label=LxERP.t8('Stocked Qty'), value='Y') %]</td>
281 206
      [%- END %]
282
          <td>
283
           <input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y">
284
           <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
285
          </td>
286
          <td>
287
           <input name="l_projectdescription" id="l_projectdescription" class="checkbox" type="checkbox" value="Y">
288
           <label for="l_projectdescription">[% 'Project Description' | $T8 %]</label>
289
          </td>
290
          <td>
291
           <input name="l_pricegroups" id="l_pricegroups" class="checkbox" type="checkbox" value="Y" checked>
292
           <label for="l_pricegroups">[% 'Pricegroups' | $T8 %]</label>
293
          </td>
207
          <td>[%- L.checkbox_tag('l_projectnumber', label=LxERP.t8('Project Number'), value='Y') %]</td>
208
          <td>[%- L.checkbox_tag('l_projectdescription', label=LxERP.t8('Project Description'), value='Y') %]</td>
209
          <td>[%- L.checkbox_tag('l_pricegroups', label=LxERP.t8('Pricegroups'), value='Y', checked=1) %]</td>
294 210
         </tr>
295 211

  
296 212
         <tr>
297
          <td>
298
           <input name="l_notes" id="l_notes" class="checkbox" type="checkbox" value="Y">
299
           <label for="l_notes">[% 'Notes' | $T8 %]</label>
300
          </td>
213
          <td>[%- L.checkbox_tag('l_notes', label=LxERP.t8('Notes'), value='Y') %]</td>
301 214
         </tr>
302 215

  
303 216
         [% CUSTOM_VARIABLES_INCLUSION_CODE %]

Auch abrufbar als: Unified diff