[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
Tue Mar 11 17:12:35 CET 2014


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

Sophie MEYNIEUX <sophie.meynieux at biblibre.com> changed:

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

--- Comment #59 from Sophie MEYNIEUX <sophie.meynieux at biblibre.com> ---
Created attachment 26125
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=26125&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.

Signed-off-by: Sophie Meynieux <sophie.meynieux at biblibre.com>

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


More information about the Koha-bugs mailing list