Koha/koha-tmpl/intranet-tmpl/prog/en
Lyon3 Team 94d3aed746 Bug 9593: improve parsing of prices from staged files
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 staffo 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: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests, especially t/db_dependent/MungeMarcPrice.t
Checked currencies can be added, edited and deleted.
Notes: new ISO code field is mandatory.
       Sample sql files need to be updated (bug 12146)

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-05-04 22:02:08 +00:00
..
css Bug 7180: (follow-up) fix various issues 2014-05-04 19:56:59 +00:00
data Bug 11695 - Fixed typo in marc21_field_008.xml 2014-03-11 14:21:23 +00:00
includes Bug 11665: An ability to place orders directly from hold ratios list 2014-05-04 19:13:39 +00:00
js Bug 7180: (follow-up) fix various issues 2014-05-04 19:56:59 +00:00
lib Bug 11578: Upgrade the treetable jquery plugin 2014-05-03 18:09:28 +00:00
modules Bug 9593: improve parsing of prices from staged files 2014-05-04 22:02:08 +00:00
xslt Bug 9075: Rename "type" to "material type" on staff XSLT detail and results 2014-04-08 23:33:15 +00:00
columns.def Bug 9216: (follow-up) Make description in columns.def more specific 2014-04-19 13:35:31 +00:00