Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 97b377c1

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 97b377c188c3fd533a4c487e1f5b209d882270b6
  • Vorgänger 1ec56a3d
  • Nachfolger 3349703b

Neues Design 2019 Standard-Code templates/webpages/mass_invoice_create_print_from_do/_filter.html Filter-Include eingebaut

Unterschiede anzeigen:

templates/webpages/mass_invoice_create_print_from_do/_filter.html
1
<div>
2
 <form action="controller.pl" method="post" id="search_form">
3
  <div class="filter_toggle" [% IF noshow == 0 %]style="display:none"[% END %]>
4
   <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Show Filter') %]</a>
5
      [% SELF.filter_summary %]
6
  </div>
7 1
[% USE L %]
8 2
[% USE LxERP %]
9 3
[% USE HTML %]
10 4

  
11
  <div class="filter_toggle" [% IF noshow  == 1 %]style="display:none"[% END %]>
12
   <a href="#" onClick="javascript:$('.filter_toggle').toggle()">[% LxERP.t8('Hide Filter') %]</a>
13
   <table id="filter_table">
14
    <tr>
15
     <th align="right">[% LxERP.t8('Customer') %]</th>
16
     <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size = 20) %]</td>
17
    </tr>
18
    <tr>
19
     <th align="right">[% LxERP.t8('Customer type') %]</th>
20
     <td>
21
      [% L.select_tag('filter.customer.business_id', SELF.all_businesses,
5
[% BLOCK filter_toggle_panel %]
6
  <table id="filter_table" class="tbl-horizontal">
7
    <colgroup> <col class="wi-mediumsmall"><col class="wi-lightwide"> </colgroup>
8
    <tbody>
9
      <tr>
10
        <th>[% LxERP.t8('Customer') %]</th>
11
        <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, size = 20, class='wi-lightwide' ) %]</td>
12
      </tr>
13
      <tr>
14
        <th align="right">[% LxERP.t8('Customer type') %]</th>
15
        <td>
16
          [% L.select_tag('filter.customer.business_id', SELF.all_businesses,
22 17
                      default    => filter.customer.business_id
23 18
                      title_key  => 'description',
24 19
                      value_key  => 'id',
25 20
                      with_empty => 1,
26
                      style      => 'width: 200px') %]
27
     </td>
28
    </tr>
29
    <tr>
30
     <th align="right">[% LxERP.t8('Delivery Order Date') %] [% LxERP.t8('From Date') %]</th>
31
     <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge) %]</td>
32
    </tr>
33
    <tr>
34
     <th align="right">[% LxERP.t8('Delivery Order Date') %] [% LxERP.t8('To Date') %]</th>
35
     <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le) %]</td>
36
    </tr>
21
                      class      => 'wi-lightwide') %]
22
        </td>
23
      </tr>
24
      <tr>
25
        <th>[% LxERP.t8('Delivery Order Date') %] [% LxERP.t8('From Date') %]</th>
26
        <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, class='wi-date' ) %]</td>
27
      </tr>
28
      <tr>
29
        <th>[% LxERP.t8('Delivery Order Date') %] [% LxERP.t8('To Date') %]</th>
30
        <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, class='wi-date' ) %]</td>
31
      </tr>
32
    </tbody>
37 33
  </table>
38 34

  
39
   [% L.hidden_tag('action', 'MassInvoiceCreatePrint/' _ LIST_ACTION, id='filter_action') %]
40
   [% L.hidden_tag('sort_by', FORM.sort_by) %]
41
   [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
42
   [% L.hidden_tag('page', FORM.page) %]
43
   [% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset')) %]
35
  [% L.hidden_tag('action', 'MassInvoiceCreatePrint/' _ LIST_ACTION, id='filter_action') %]
36
  [% L.hidden_tag('sort_by', FORM.sort_by) %]
37
  [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
38
  [% L.hidden_tag('page', FORM.page) %]
39
  <div class="buttons">
40
    [% L.button_tag('$("#search_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
44 41
  </div>
42
[% END %]
45 43

  
46
 </form>
47
</div>
44
<form action="controller.pl" method="post" id="search_form">
45
  <div class="wrapper">
46
    [% PROCESS common/toggle_panel.html %]
47
  </div>
48
</form>

Auch abrufbar als: Unified diff