Revision a8cbee0b
Von Kivitendo Admin vor mehr als 1 Jahr hinzugefügt
SL/DB/Manager/Chart.pm | ||
---|---|---|
94 | 94 |
|
95 | 95 |
# filter by link or several defined custom types |
96 | 96 |
# special types: |
97 |
# bank, guv, balance |
|
97 |
# bank, guv, balance, clearing
|
|
98 | 98 |
|
99 | 99 |
return () unless $type; |
100 | 100 |
|
... | ... | |
113 | 113 |
push @filter, ( category => [ 'I', 'E' ] ); |
114 | 114 |
} elsif ( $type eq 'balance' ) { |
115 | 115 |
push @filter, ( category => [ 'A', 'Q', 'L' ] ); |
116 |
} elsif ( $type eq 'clearing' ) { |
|
117 |
push @filter, ( clearing => 1 ); |
|
116 | 118 |
} else { |
117 | 119 |
push @filter, $class->link_filter($type); |
118 | 120 |
}; |
templates/webpages/chart/test_page.html | ||
---|---|---|
36 | 36 |
<p> |
37 | 37 |
Filter by special type:<br> |
38 | 38 |
GuV: [% P.chart.picker('chart_id_guv', undef, type='guv', style=style) %]<br> |
39 |
Clearing: [% P.chart.picker('chart_id_clearing', undef, type='clearing', style=style) %]<br> |
|
39 | 40 |
</p> |
40 | 41 |
|
41 | 42 |
<p>bank (fat): [% P.chart.picker('bank_id', '', type='bank', fat_set_item=1, choose=1, style=style) %] |
Auch abrufbar als: Unified diff
Konten ausziffern - Kontenpicker erweitert