[Koha-patches] [PATCH] Bug 10043 - Clear not for loan on receipt

Amit Gupta amit.gupta at osslabs.biz
Wed May 15 18:49:20 CEST 2013


When receiving an item to have the facility
to scan the barcode and change the status of the item
from ON ORDER to JUST RECEIVED automatically

To Test:
1) Create a ACQ framwork in MARC bibliographic framework
2) Search 952 tag and set default value notforloan is to -1
3) Create a basket for ex: basket1
4) Create order under basket
5) Close the basket
6) Receive the shipment
7) By default notforloan value is Ordered
8) Once you receive the order item tag value is available or value is 0
---
 acqui/finishreceive.pl |    1 +
 1 file changed, 1 insertion(+)

diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl
index 5ca2c98..c317169 100755
--- a/acqui/finishreceive.pl
+++ b/acqui/finishreceive.pl
@@ -154,5 +154,6 @@ sub update_item {
         price                => $unitprice,
         replacementprice     => $rrp,
         replacementpricedate => $datereceived,
+        notforloan           => 0,
     }, $biblionumber, $itemnumber );
 }
-- 
1.7.9.5



More information about the Koha-patches mailing list