X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1d34002dbf0a3ee90237f4373229a45ed890cd7f..c21d2acca00997c4ca0be66f053dfdd0180f68f8:/SL/DB/Helper/PriceTaxCalculator.pm diff --git a/SL/DB/Helper/PriceTaxCalculator.pm b/SL/DB/Helper/PriceTaxCalculator.pm index 9048736da..07ad5b11d 100644 --- a/SL/DB/Helper/PriceTaxCalculator.pm +++ b/SL/DB/Helper/PriceTaxCalculator.pm @@ -358,7 +358,14 @@ C, C, C, C and C. The items are stored in the same order the items are stored in the -object that L has been called on. +object that L has been called on. + +For example: + + my $invoice = SL::DB::Invoice->new(id => 12345)->load; + my %data = $invoice->calculate_prices_and_taxes; + + print "line total of second item: " . $data{items}->[1]->{linetotal}; =back