Bug 7570 - Add Item availability status to cart.
authorMeenakshi.R <meenakshi.r@osslabs.biz>
Fri, 8 Jun 2012 05:39:58 +0000 (11:09 +0530)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 11 Jun 2012 15:50:41 +0000 (17:50 +0200)
commit97e92b22e19b3d2e1712bc3a9f8527f8b49d867c
tree2bebf85916a25f991faf378029bdae1158e62fd7
parent509d673f10bf8e03529602b922d1fab603457ee2
Bug 7570 - Add Item availability status to cart.

    Added Item availability status to cart(Location table cell).

Changes:
-opac/opac-basket.pl:
Added code to show In transmit status and modified @items to call "GetItemsInfo" instead of "GetItemsLocationInfo" to get accurate avalibility status.
-koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt:
Added code for showing availibility staus in opac-basket page and in  "More details" link.

Test Cases:
-Add records to your cart with different cases like 1 record with  different Item status(Lost,Avaliable,Withdrawn,etc).
-Click on your cart and see the results in a new window.
-Click on "More details" link and check the results.

Signed-off-by: Michael Davis <m.r.davis@cranfield.ac.uk>
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tt
opac/opac-basket.pl