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

Saiful Amin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |om

--- Comment #2 from Saiful Amin <[email protected]> ---
(In reply to Martin Renvoize (ashimema) from comment #1)
> Use Koha::Acquisition::Currencies->get_active's isocode when one is
> configured, falling back to 'USD' (the previous behaviour) when no
> active currency exists.

If I understand correctly, the isocode column is varchar(5) as per this:
https://schema.koha-community.org/26_05/tables/currency.html

As per SIP2 Protocol Definition doc (page 13):
currency type BH 3-char fixed-length optional field

Based on the above, this looks wrong:
$self->{sip_currency} = $active_currency->isocode
        if $active_currency && $active_currency->isocode;

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to