[Koha-bugs] [Bug 6894] Order from suggestion defaulting to wrong currency

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 28 19:09:07 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6894

--- Comment #2 from Liz Rea <wizzyrea at gmail.com> 2011-10-28 17:09:07 UTC ---
Created attachment 6097
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6097
Bug 6894: Order from suggestion defaulting to wrong currency

This problem turned out to be a bit different, than I initally thought.

This patch fixes the currency selections for new orders created in staff.
Before this patch, the first currency in the list was selected instead
of the active currency. So you needed to change it explicitly.

After patch it should work like this:

1) Suggestion created in OPAC - currency defaults to NULL in database
2) Editing a suggestion created in OPAC will default to active currency.
3) Creating a new suggestion in staff will default to active currency.
4) When ordering, the currency will default to the vendor currency, if no
currency is set in the suggestion. (still happens, when suggestions are
accepted
in batch from the list.

I hope this is right - comments and testing appreciated.

Signed-off-by: Liz Rea <lrea at nekls.org>
Verified that in the above places, active currency was displayed or selected.
Tested both suggestions entered from the OPAC and from the intranet.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list