Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 72911d5e

Von Jan Büren vor mehr als 4 Jahren hinzugefügt

  • ID 72911d5ea1346df76eb1c46c297c6a1624c35c59
  • Vorgänger 5c95eda7
  • Nachfolger d3217777

pod ergänzung GL.pm

Unterschiede anzeigen:

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