Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 51a91d9a

Von Jan Büren vor mehr als 7 Jahren hinzugefügt

  • ID 51a91d9aef3a13ba96f343e08b7ce30ae5eafa6d
  • Vorgänger 98819982
  • Nachfolger 01955b9c

fixt: #283 Typfilter bei Lieferplan|Lieferwertbericht

Korrekte Filterübergabe an das Backend.
Zusätzlich weiteren Filterparameter 'Sortiment' eingebaut.
Ticket-Ziel: 100% done

Unterschiede anzeigen:

templates/webpages/delivery_plan/_filter.html
81 81
  <tr>
82 82
   <th align="right">[% 'Type' | $T8 %]</th>
83 83
   <td>
84
     [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.part,     value='part',     label=LxERP.t8('Part')) %]
85
     [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.service,  value='service',  label=LxERP.t8('Service')) %]
86
     [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
84
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part,     value='part',     label=LxERP.t8('Part')) %]
85
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service,  value='service',  label=LxERP.t8('Service')) %]
86
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
87
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
87 88
   </td>
88 89
  </tr>
89 90
  <tr>
templates/webpages/delivery_value_report/_filter.html
81 81
  <tr>
82 82
   <th align="right">[% 'Type' | $T8 %]</th>
83 83
   <td>
84
     [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.part,     value='part',     label=LxERP.t8('Part')) %]
85
     [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.service,  value='service',  label=LxERP.t8('Service')) %]
86
     [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
84
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part,     value='part',     label=LxERP.t8('Part')) %]
85
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service,  value='service',  label=LxERP.t8('Service')) %]
86
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
87
     [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
87 88
   </td>
88 89
  </tr>
89 90
 </table>

Auch abrufbar als: Unified diff