Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c8b75589

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

  • ID c8b7558969268ea17cfe7b43d4c632fa57c6823a
  • Vorgänger 80eff4dc
  • Nachfolger eee25ca4

Neues Design 2019 Standard-Code templates/webpages/financial_controlling_report/

Unterschiede anzeigen:

templates/webpages/financial_controlling_report/_filter.html
1
<form action='controller.pl' method='post' id='filter_form'>
2
<div class='filter_toggle'>
3
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
4
  [% SELF.filter_summary %]
5
</div>
6
<div class='filter_toggle' style='display:none'>
7
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
8
 <table id='filter_table'>
9
  <tr>
10
   <th align="right">[% 'Customer' | $T8 %]</th>
11
   <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, style=style) %]</td>
12
  </tr>
13
  <tr>
14
   <th align="right">[% 'Customer Number' | $T8 %]</th>
15
   <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, style=style) %]</td>
16
  </tr>
17
  <tr>
18
   <th align="right">[% 'Order Number' | $T8 %]</th>
19
   <td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, style=style) %]</td>
20
  </tr>
21
  <tr>
22
   <th align="right">[% 'Project Number' | $T8 %]</th>
23
   <td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, style=style) %]</td>
24
  </tr>
25
  <tr>
26
   <th align="right">[% 'Project Type' | $T8 %]</th>
27
   <td>[% L.select_tag('filter.globalproject.project_type_id', SELF.project_types, default=filter.globalproject.project_type_id, title_key='description', with_empty=1, style=style) %]</td>
28
  </tr>
29
  <tr>
30
   <th align="right">[% LxERP.t8('Transaction description') %]</th>
31
   <td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, style=style) %]</td>
32
  </tr>
33
  <tr>
34
   <th align="right">[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
35
   <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR') %]</td>
36
  </tr>
37
  <tr>
38
   <th align="right">[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
39
   <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR') %]</td>
40
  </tr>
41
 </table>
42 1
[% USE T8 %]
43 2
[% USE L %]
44 3
[% USE LxERP %]
45 4
[% USE HTML %]
46 5

  
47
[% L.hidden_tag('sort_by', FORM.sort_by) %]
48
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
49
[% L.hidden_tag('page', FORM.page) %]
50
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
51
</div>
6
<form action="controller.pl" method="post" id="filter_form">
7
<div class="wrapper">
52 8

  
9
[% BLOCK filter_toggle_panel %]
10
<table id="filter_table" class="tbl-horizontal">
11
  <tbody>
12
    <tr>
13
      <th>[% 'Customer' | $T8 %]</th>
14
      <td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, class='wi-normal') %]</td>
15
    </tr>
16
    <tr>
17
      <th>[% 'Customer Number' | $T8 %]</th>
18
      <td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, class='wi-normal') %]</td>
19
    </tr>
20
    <tr>
21
      <th>[% 'Order Number' | $T8 %]</th>
22
      <td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, class='wi-normal') %]</td>
23
    </tr>
24
    <tr>
25
      <th>[% 'Project Number' | $T8 %]</th>
26
      <td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, class='wi-normal') %]</td>
27
    </tr>
28
    <tr>
29
      <th>[% 'Project Type' | $T8 %]</th>
30
      <td>[% L.select_tag('filter.globalproject.project_type_id', SELF.project_types, default=filter.globalproject.project_type_id, title_key='description', with_empty=1, class='wi-normal') %]</td>
31
    </tr>
32
    <tr>
33
      <th>[% LxERP.t8('Transaction description') %]</th>
34
      <td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, class='wi-normal') %]</td>
35
    </tr>
36
    <tr>
37
      <th>[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
38
      <td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR', class='wi-small') %]</td>
39
    </tr>
40
    <tr>
41
      <th>[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
42
      <td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR', class='wi-small') %]</td>
43
    </tr>
44
  </tbody>
45
</table>
46

  
47
<div class="buttons">
48
  [% L.hidden_tag('sort_by', FORM.sort_by) %]
49
  [% L.hidden_tag('sort_dir', FORM.sort_dir) %]
50
  [% L.hidden_tag('page', FORM.page) %]
51
  [% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
52
</div><!-- ./buttons -->
53
[% END # /BLOCK filter_toggle_panel %]
54

  
55
[% INCLUDE 'common/toggle_panel.html' %]
56

  
57
</div><!-- /.wrapper -->
53 58
</form>
templates/webpages/financial_controlling_report/report_bottom.html
1 1
[% USE L %]
2
[%- L.paginate_controls(models=models) %]
2
<div class="buttons">
3
  [% L.paginate_controls(models=models) %]
4
</div>

Auch abrufbar als: Unified diff