PriceRule: nach gültig/ungültig filtern
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 25 Sep 2014 15:48:47 +0000 (17:48 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 18 Dec 2014 15:18:51 +0000 (16:18 +0100)
templates/webpages/price_rule/_filter.html

index e6e2618..6cc7cfb 100644 (file)
    <th align="right">[% 'Discount' | $T8 %]</th>
    <td>[% L.input_tag('filter.discount:number', filter.discount_number, size=20) %]</td>
   </tr>
+  <tr>
+   <th align="right">[% 'Discount' | $T8 %]</th>
+   <td>[% L.select_tag('filter.obsolete', [ [ '', LxERP.t8('Both') ], [ 0, LxERP.t8('Valid') ], [ 1 , LxERP.t8('Obsolete')]], default=filter.obsolete, title_key='description', style='width: 300px') %]</td>
+  </tr>
  </table>
 
 [% L.hidden_tag('action', 'PriceRule/dispatch') %]