Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e1a3bc5a

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

Dienstleistungsbericht: Nicht editierbare Felder nicht zur Auswahl geben

Fixt #2004.

Unterschiede anzeigen:

templates/webpages/ic/search.html
85 85
        <input name="itemstatus" id="itemstatus_active" class="radio" type="radio" value="active" checked>
86 86
        <label for="itemstatus_active">[% 'Active' | $T8 %]</label>
87 87
        <input name="itemstatus" id="itemstatus_onhand" class="radio" type="radio" value="onhand">
88
      [%- UNLESS is_service %]
88 89
        <label for="itemstatus_onhand">[% 'On Hand' | $T8 %]</label>
89 90
        <input name="itemstatus" id="itemstatus_short" class="radio" type="radio" value="short">
90 91
        <label for="itemstatus_short">[% 'Short' | $T8 %]</label>
91 92
        <input name="itemstatus" id="itemstatus_obsolete" class="radio" type="radio" value="obsolete">
93
      [%- END %]
92 94
        <label for="itemstatus_obsolete">[% 'Obsolete' | $T8 %]</label>
93 95
        <input name="itemstatus" id="itemstatus_orphaned" class="radio" type="radio" value="orphaned">
94 96
        <label for="itemstatus_orphaned">[% 'Orphaned' | $T8 %]</label>
......
177 179
           <input name="l_description" id="l_description" class="checkbox" type="checkbox" value="Y" checked>
178 180
           <label for="l_description">[% 'Part Description' | $T8 %]</label>
179 181
          </td>
182
      [%- UNLESS is_service %]
180 183
          <td>
181 184
           <input name="l_serialnumber" id="l_serialnumber" class="checkbox" type="checkbox" value="Y">
182 185
           <label for="l_serialnumber">[% 'Serial Number' | $T8 %]</label>
183 186
          </td>
187
      [%- END %]
184 188
          <td>
185 189
           <input name="l_unit" id="l_unit" class="checkbox" type="checkbox" value="Y" checked>
186 190
           <label for="l_unit">[% 'Unit of measure' | $T8 %]</label>
......
218 222
           <input name="l_deliverydate" id="l_deliverydate" class="checkbox" type="checkbox" value="Y">
219 223
           <label for="l_deliverydate">[% 'deliverydate' | $T8 %]</label>
220 224
          </td>
225
      [%- UNLESS is_service %]
221 226
          <td>
222 227
           <input name="l_rop" id="l_rop" class="checkbox" type="checkbox" value="Y">
223 228
           <label for="l_rop">[% 'ROP' | $T8 %]</label>
......
226 231
           <input name="l_weight" id="l_weight" class="checkbox" type="checkbox" value="Y">
227 232
           <label for="l_weight">[% 'Weight' | $T8 %]</label>
228 233
          </td>
234
      [%- END %]
229 235
         </tr>
230 236

  
231 237
         <tr>
......
267 273
         </tr>
268 274

  
269 275
         <tr>
276
      [%- UNLESS is_service %]
270 277
          <td>
271 278
           <input name="l_onhand" id="l_onhand" class="checkbox" type="checkbox" value="Y">
272 279
           <label for="l_onhand">[% 'Stocked Qty' | $T8 %]</label>
273 280
          </td>
281
      [%- END %]
274 282
          <td>
275 283
           <input name="l_projectnumber" id="l_projectnumber" class="checkbox" type="checkbox" value="Y">
276 284
           <label for="l_projectnumber">[% 'Project Number' | $T8 %]</label>
......
307 315
   <input class="submit" type="submit" name="action" value="[% 'TOP100' | $T8 %]">
308 316
  </p>
309 317
 </form>
310

  

Auch abrufbar als: Unified diff