[Koha-bugs] [Bug 9593] Prices not imported correctly from a staged file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 30 08:46:49 CET 2013


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

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22151|0                           |1
        is obsolete|                            |

--- Comment #46 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 22541
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22541&action=edit
Bug 9593 Prices not imported correctly from a staged file

Initial bug :
When there's a round price with no decimals after it,
or when the symbol is after the digits, the price is not captured
by regular expression in MungeMarcPrice routine and the variable is not
initialized.

Enhancement :
The MungeMarcPrice routine had been widely modified.
It 's still possible to priority pick the active currency but unlike the
previous mechanism
that worked only for prices preceded by the currency sign, it's now valid
wherever the symbol is situated.
As symbol you may enter a pure currency sign as well as a string including it
like '$US'.
Moreover, an 'isocode' column had been added in currency table (editable in the
pro interface
from Administration/Currencies and exchange rates). So the active currency can
be picked either
through its symbol or through its iso code.

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


More information about the Koha-bugs mailing list