[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
Sat Dec 27 20:14:04 CET 2014


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31920|0                           |1
        is obsolete|                            |
  Attachment #31921|0                           |1
        is obsolete|                            |

--- Comment #19 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 34731
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34731&action=edit
[PASSED QA] 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

Signed-off-by: Paola Rossi <paola.rossi at cineca.it>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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

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


More information about the Koha-bugs mailing list