Created attachment 8030 [details] [review] add item barcode on top of its editing form This patch displays the item barcode on top of its editing form. I think it's more useful for the common user than the itemnumber which has no practical sense for him.
Doesn't this require a change to the script in order for it to work? As it is the 'barcode' variable is only available inside [% FOREACH ite IN item %]. I don't see any barcode displayed when editing an item.
Created attachment 8041 [details] [review] add item barcode on top of its editing form
Oups ! you are right, here's the missing line (in the new patch). additem.pl line 741 barcode => GetBarcodeFromItemnumber($itemnumber)
Hello, I didn't see the item barcode on top of the form of item creation (/ koha/cataloguing/additem.pl?biblionumber=2). Test with a database in marc21. Sorry
Well, you are right, it's not visible in creation... since in creation there's no barcode yet. But it should be visible in modification
Created attachment 9737 [details] barcode on top of item edit form Test plan : 1) take an existing item with an existing barcode and search for it in the pro catalog. 2) click on Items tab then on "Edit item" link the barcode number is now displayed on top of the form (see attached image)
Created attachment 9998 [details] [review] signed off patch Tested OK (after resolving a conflict). Barcode displayed when editing an item.
Created attachment 10002 [details] [review] Signed-off patch (fixed Author)
QA comment: tiny patch, that probably add some overhead because of GetBarcodeFromItemnumber sub, that queries SQL, but that's the proper way to handle this feature. Passes QA