Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 248bf1f3

Von Moritz Bunkus vor etwa 2 Jahren hinzugefügt

  • ID 248bf1f3ac850da83228f32effd4baccec9765d8
  • Vorgänger 62d72cee
  • Nachfolger 1e64aa91

Liquiditätsübersicht: aufschlüsseln nach Warengruppen (Design 4.0)

Unterschiede anzeigen:

templates/design40_webpages/liquidity_projection/_filter.html
16 16
      <td> 
17 17
        [% L.checkbox_tag("params.type",           value=1, checked=FORM.params.type,           label=LxERP.t8("Basis of calculation")) %] <br>
18 18
        [% L.checkbox_tag("params.salesman",       value=1, checked=FORM.params.salesman,       label=LxERP.t8("Salesman")) %] <br>
19
        [% L.checkbox_tag("params.buchungsgruppe", value=1, checked=FORM.params.buchungsgruppe, label=LxERP.t8("Booking group")) %] 
19
        [% L.checkbox_tag("params.buchungsgruppe", value=1, checked=FORM.params.buchungsgruppe, label=LxERP.t8("Booking group")) %]<br>
20
        [% L.checkbox_tag("params.parts_group",    value=1, checked=FORM.params.parts_group,    label=LxERP.t8("Partsgroup")) %]
20 21
      </td>
21 22
    </tr>
22 23
  </tbody>
templates/design40_webpages/liquidity_projection/_result.html
1 1
[% USE HTML %]
2 2
[% USE LxERP %]
3 3
[% USE T8 %]
4
[% SET name_col = FORM.params.salesman || FORM.params.buchungsgruppe || FORM.params.type %]
4
[% SET name_col = FORM.params.salesman || FORM.params.buchungsgruppe || FROM.params.parts_group || FORM.params.type %]
5 5

  
6 6
<table class="tbl-list wi-moderate">
7 7
  <caption>[% 'Result' | $T8 %]</caption>
......
53 53
       </tr>
54 54
      [% END %]
55 55
     [% END %]
56

  
57
     [% IF FORM.params.parts_group %]
58
      [% FOREACH parts_group = SELF.liquidity.sorted.parts_group %]
59
       <tr>
60
        <td>[% IF loop.first %][% LxERP.t8("Partsgroup") %][% END %]</td>
61
        <td>[% HTML.escape(parts_group) || LxERP.t8('no partsgroup') %]</td>
62

  
63
        [% FOREACH month = SELF.liquidity.sorted.month %]
64
         <td class="numeric">[% LxERP.format_amount(SELF.liquidity.parts_group.$parts_group.$month, 2) %]</td>
65
        [% END %]
66
       </tr>
67
      [% END %]
68
     [% END %]
56 69
  </tbody>
57 70
<tfoot>
58 71
  <tr class="listrow listtotal">

Auch abrufbar als: Unified diff