]> git.koha-community.org Git - koha.git/commit
Bug 18267: Refactored Edifact Price Calculations
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 12 Nov 2020 11:42:05 +0000 (11:42 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 9 Dec 2020 20:24:47 +0000 (21:24 +0100)
commitfb2c1f177ec74a9f5f4345f3d75e8292b51b282d
treec4193be76d9188a99e891f9c894b00a1180d0d58
parentd1fcec21015cf4f725e0632b2aeb2cb7280dea5d
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>
(cherry picked from commit a939f9ab174f9ab1e05f80832343474c6bc5a084)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Koha/EDI.pm
Koha/Edifact/Line.pm
t/EdiInvoice.t
t/Edifact.t