[Koha-bugs] [Bug 15084] Move the currency related code to Koha::Acquisition::Currenc[y|ies]

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 8 11:19:34 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15084

--- Comment #55 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 48772
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48772&action=edit
Bug 15084: typo currency vs currency_code

The DB column is currency.currency not currency.currency_code.

Test plan:
Delete a currency
Without this patch, you will get a warning in the logs:
No method currency_code! at
/home/koha/src/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
line 148.
And the currency won't be deleted.

With this patch, it will!

It also changes the value of the delete op.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list