Bug 13320: Move price calculation from tt to pl
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 21 Jan 2015 08:51:18 +0000 (09:51 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 4 Feb 2015 18:16:09 +0000 (15:16 -0300)
commit6a7dbb3051bfa82f6ddcdfda907b4d95f1bf1d79
tree6406b7715a92d28628e29ecc36d2bb90551bc6f7
parent06f4950aa21ff889cff81f27b2f4e79788db193f
Bug 13320: Move price calculation from tt to pl

In parcel.tt, total are calculated for subtotal.

This could be done in the pl script for more consistency.

Test plan:
Go on a parcel page with several already received orders.
Orders must be linked to different funds.
If possible ecost and unitprice (price on ordering and on receiving)
should changed (different values will be displayed in the table).

The values displayed before and after the patch must be the same.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
acqui/parcel.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt