Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c8b75589

Von Hans P. Schlaepfer vor mehr als 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
<form action='controller.pl' method='post' id='filter_form'>
<div class='filter_toggle'>
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
[% SELF.filter_summary %]
</div>
<div class='filter_toggle' style='display:none'>
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Hide Filter' | $T8 %]</a>
<table id='filter_table'>
<tr>
<th align="right">[% 'Customer' | $T8 %]</th>
<td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Customer Number' | $T8 %]</th>
<td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Order Number' | $T8 %]</th>
<td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Project Number' | $T8 %]</th>
<td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Project Type' | $T8 %]</th>
<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>
</tr>
<tr>
<th align="right">[% LxERP.t8('Transaction description') %]</th>
<td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, style=style) %]</td>
</tr>
<tr>
<th align="right">[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
<td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR') %]</td>
</tr>
<tr>
<th align="right">[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
<td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR') %]</td>
</tr>
</table>
[% USE T8 %]
[% USE L %]
[% USE LxERP %]
[% USE HTML %]
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
</div>
<form action="controller.pl" method="post" id="filter_form">
<div class="wrapper">
[% BLOCK filter_toggle_panel %]
<table id="filter_table" class="tbl-horizontal">
<tbody>
<tr>
<th>[% 'Customer' | $T8 %]</th>
<td>[% L.input_tag('filter.customer.name:substr::ilike', filter.customer.name_substr__ilike, class='wi-normal') %]</td>
</tr>
<tr>
<th>[% 'Customer Number' | $T8 %]</th>
<td>[% L.input_tag('filter.customer.customernumber:substr::ilike', filter.customer.customernumber_substr__ilike, class='wi-normal') %]</td>
</tr>
<tr>
<th>[% 'Order Number' | $T8 %]</th>
<td>[% L.input_tag('filter.ordnumber:substr::ilike', filter.ordnumber_substr__ilike, class='wi-normal') %]</td>
</tr>
<tr>
<th>[% 'Project Number' | $T8 %]</th>
<td>[% L.input_tag('filter.globalproject.projectnumber:substr::ilike', filter.globalproject.projectnumber_substr__ilike, class='wi-normal') %]</td>
</tr>
<tr>
<th>[% 'Project Type' | $T8 %]</th>
<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>
</tr>
<tr>
<th>[% LxERP.t8('Transaction description') %]</th>
<td>[% L.input_tag('filter.transaction_description:substr::ilike', filter.transaction_description_substr__ilike, class='wi-normal') %]</td>
</tr>
<tr>
<th>[% 'Order Date' | $T8 %] [% 'From Date' | $T8 %]</th>
<td>[% L.date_tag('filter.transdate:date::ge', filter.transdate_date__ge, cal_align = 'BR', class='wi-small') %]</td>
</tr>
<tr>
<th>[% 'Order Date' | $T8 %] [% 'To Date' | $T8 %]</th>
<td>[% L.date_tag('filter.transdate:date::le', filter.transdate_date__le, cal_align = 'BR', class='wi-small') %]</td>
</tr>
</tbody>
</table>
<div class="buttons">
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset'), class='neutral') %]
</div><!-- ./buttons -->
[% END # /BLOCK filter_toggle_panel %]
[% INCLUDE 'common/toggle_panel.html' %]
</div><!-- /.wrapper -->
</form>
templates/webpages/financial_controlling_report/report_bottom.html
[% USE L %]
[%- L.paginate_controls(models=models) %]
<div class="buttons">
[% L.paginate_controls(models=models) %]
</div>

Auch abrufbar als: Unified diff