Bug 9593: (follow-up) don't make currency.isocode required
authorGalen Charlton <gmc@esilibrary.com>
Sun, 4 May 2014 22:21:17 +0000 (22:21 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 4 May 2014 22:21:17 +0000 (22:21 +0000)
commitf13c72ebee0d6312512b88cd1c61e24b4e181902
tree7b2b57c14b4d769a577f12f71c410ad25360568d
parent11b9bd0f4a62ec690abd675cfabeef7705605439
Bug 9593: (follow-up) don't make currency.isocode required

This patch changes the price parsing so that it can fall
back on the currency name if an ISO code is not supplied; this allows
for handling the very common situation where the currency name
as entered was already the same as the ISO code.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Biblio.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
t/db_dependent/MungeMarcPrice.t