[Koha-bugs] [Bug 12969] VAT and price calculation should be done in a subroutine

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 19 17:30:12 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12969

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 31746
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31746&action=edit
Bug 12969: Add a subroutine to calculate VAT and prices

This patch adds a new subroutine populate_order_with_prices in the
C4::Acquisition module.

Its goal is to refactore the VAT and prices calculation into Koha.
All scripts will use this subroutine.

Test plan:
Verify that the prices in t/Prices.t are consistent with the values
listed in the file "Prices and VAT calculation - before" submit on bug
12964.
Verify that
  prove t/Prices.t
returns green

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list