Bug 9280: FIX price calculation adding an order from a staged file
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 13 Dec 2012 13:26:54 +0000 (14:26 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 24 Jan 2013 13:41:19 +0000 (08:41 -0500)
commit756afbb89bae87ceac6f3b90c21a67952bab03e8
tree61a2cad8b07570cfcd035e710a0352960f205607
parentf36b5eb2cdd7dae1c4031b9d9b9848038bd26835
Bug 9280: FIX price calculation adding an order from a staged file

Test plan:
Add an order from a staged file containing a price value (010$d for
UNIMARC user).
Check this patch with 2 different vendors (listprice=1 and listprice=0).
Check the calculated price (depending discount and gstrate).

Signed-off-by: mathieu saby <mathieu.saby@univ-rennes2.fr>
Signed-off-by: Elliott Davis <elliott@bywatersolions.com>
introduces no new bugs
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
I was unable to replicate the bug in MARC21, but the patch introduces
no regressions that I could find, so I am pushing it anyway.
Note: Acquisitions remains unusable under Plack. In order to test this
patch I first applied the patch on bug 9432.
acqui/addorderiso2709.pl