[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
Thu Sep 25 16:16:19 CEST 2014


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31877|0                           |1
        is obsolete|                            |

--- Comment #10 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 31878
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31878&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