@@ -, +, @@ --- acqui/parcel.pl | 7 ++++--- .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) --- a/acqui/parcel.pl +++ a/acqui/parcel.pl @@ -284,7 +284,7 @@ if ($count>$resultsperpage){ #$totalfreight=$freight; $tototal = $tototal + $freight; - +my $addgst = $tototal * $gst; $template->param( invoice => $invoice, datereceived => $datereceived->output('iso'), @@ -304,8 +304,9 @@ $template->param( totalquantity => $totalquantity, tototal => sprintf($cfstr, $tototal), ordergrandtotal => sprintf($cfstr, $ordergrandtotal), - gst => $gst, - grandtot => sprintf($cfstr, $tototal + $gst), + gstpercent => sprintf( "%.2f", $gst * 100 ) . '%', + addgst => sprintf($cfstr,$addgst), + grandtot => sprintf($cfstr, $tototal + $addgst), totalPunitprice => sprintf("%.2f", $totalPunitprice), totalPquantity => $totalPquantity, totalPqtyrcvd => $totalPqtyrcvd, --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -337,8 +337,8 @@ The total at the bottom of the page should be within a few cents of the total for the invoice.

- Tax rate - [% gst %] + Tax rate ([% gstpercent %]) + [% addgst %] [% END %] --