Bug 18267: Refactored Edifact Price Calculations
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 12 Nov 2020 11:42:05 +0000 (11:42 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 16 Nov 2020 12:46:48 +0000 (13:46 +0100)
commit36d46c6510ee93ffc52f6b914389c66351b16f33
tree9de613458808ac9c74c5a67b0223e0da5c45b9c2
parentea725f472426caab9bcdbef128fd5693f795fe17
Bug 18267: Refactored Edifact Price Calculations

Refactored the price calculations for Quotes and Invoices
This takes in to account various combinations used by different
vendors. Makes the extraction of basic price, quantity and tax
information more reliable. Tests are in Edifact.t and EdiInvoice.t

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/EDI.pm
Koha/Edifact/Line.pm
t/EdiInvoice.t
t/Edifact.t