Bug 18267: Refactored Edifact Price Calculations
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 12 Nov 2020 11:42:05 +0000 (11:42 +0000)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Wed, 9 Dec 2020 19:50:39 +0000 (19:50 +0000)
commita939f9ab174f9ab1e05f80832343474c6bc5a084
treebb7b2f8acb5bf9d9d2687091e2138447e47c5943
parent1637f60c37eb6eef52df99323779793da28270a3
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>
(cherry picked from commit 36d46c6510ee93ffc52f6b914389c66351b16f33)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Koha/EDI.pm
Koha/Edifact/Line.pm
t/EdiInvoice.t
t/Edifact.t