Koha/koha-tmpl/intranet-tmpl
Mathieu Saby cbe0d7bebd Bug 9374: Only 0.00 prices must have class error in basket.tt
A regexp '^0' in basket.tt is used to give the class "error" to null prices.
It is wrong, because it matches prices like "0.15". It should only match "0.00".

To test :
- apply the patch
- display a basket with an order with a price between 0 and 1 (like "0.50") and an order with a price stricty null ("0.00")
- only the "0.00" price should be displayed in red

Signed-off-by: Cedric Vita <cedric.vita@dracenie.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-11-01 00:03:18 +00:00
..
js Bug 10404: tweak style of staff client previous/next links 2013-08-09 15:08:49 +00:00
lib Bug 10240: Offline circulation using HTML5 and IndexedDB 2013-10-11 01:53:34 +00:00
prog Bug 9374: Only 0.00 prices must have class error in basket.tt 2013-11-01 00:03:18 +00:00