From 7a282a96479535d436fe5c91925d500f894fdf7b Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 28 Sep 2017 13:00:27 +1000 Subject: [PATCH] Bug 19377 - Remove $5 charge from sample item types Most of the sample item types come with a rental charge of $5. This is really annoying when you're testing Koha with a fast catalogued book, since you end up having to write off fines and change the item type before you can actually get to the testing you want to do. I left the rental charge on most other items so that you can test rental charges easily by using a item type other than BOOK or REF. _TEST PLAN_ Before applying 1) drop your test database 2) create your test database 3) install Koha via the web installer and install all sample data 4) do a checkout 5) note a $5 rental charge After applying 1) drop your test database 2) create your test database 3) install Koha via the web installer and install all sample data 4) do a checkout 5) note no $5 rental charge Signed-off-by: Magnus Enger Applied the patch and looked at the change to the SQL-file. Looks good. That fine on books has surprised me one too many times! :-) Signed-off-by: Katrin Fischer --- installer/data/mysql/en/optional/sample_itemtypes.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/en/optional/sample_itemtypes.sql b/installer/data/mysql/en/optional/sample_itemtypes.sql index bddfee1ade..ab887b215e 100644 --- a/installer/data/mysql/en/optional/sample_itemtypes.sql +++ b/installer/data/mysql/en/optional/sample_itemtypes.sql @@ -1,5 +1,5 @@ INSERT INTO itemtypes (itemtype, description, rentalcharge, notforloan, imageurl, summary) VALUES -('BK', 'Books',5,0,'bridge/book.gif',''), +('BK', 'Books',0,0,'bridge/book.gif',''), ('MX', 'Mixed Materials',5,0,'bridge/kit.gif',''), ('CF', 'Computer Files',5,0,'bridge/computer_file.gif',''), ('MP', 'Maps',5,0,'bridge/map.gif',''), -- 2.11.0