Revision 72911d5e
Von Jan Büren vor mehr als 4 Jahren hinzugefügt
SL/GL.pm | ||
---|---|---|
814 | 814 |
|
815 | 815 |
=over 4 |
816 | 816 |
|
817 |
=item C<get_active_taxes_for_chart> |
|
817 |
=item C<get_active_taxes_for_chart> $transdate $tax_id
|
|
818 | 818 |
|
819 |
Returns a list of taxes for a certain chart and date to be used for dropdowns, |
|
820 |
for e.g. ar/ap/gl records. |
|
819 |
Returns a list of valid taxes for a certain chart. |
|
821 | 820 |
|
821 |
If the optional param transdate exists one entry in the returning list |
|
822 |
may get the attribute C<is_default> for this specific tax-dependant date. |
|
822 | 823 |
The possible entries are filtered by the charttype of the tax, i.e. only taxes |
823 | 824 |
whose chart_categories match the category of the chart will be shown. |
824 | 825 |
|
... | ... | |
828 | 829 |
acc_trans), we can pass $tax_id as the third parameter and be sure that the |
829 | 830 |
original tax always appears in the dropdown. |
830 | 831 |
|
832 |
The functions returns an array which may be used for building dropdowns in ar/ap/gl code. |
|
831 | 833 |
=back |
832 | 834 |
|
833 | 835 |
=head1 TODO |
Auch abrufbar als: Unified diff
pod ergänzung GL.pm