Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7896df7f

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 7896df7fcbd831a4abbc141764210aad2666fb9b
  • Vorgänger 7e6e7605
  • Nachfolger c66e4f15

Neues kivitendo Design Aenderungen in templates/webpages/f*

Dateien in file/* financial_controlling_report/* financial_overview/*
fu/*

Unterschiede anzeigen:

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

  
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')) %]
52
</div>
6
<form action="controller.pl" method="post" id="filter_form">
7
<div class="wrapper">
53 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 -->
54 58
</form>

Auch abrufbar als: Unified diff