Created attachment 62063 [details] [review] Bug 18418 - Advanced Editor - Rancor - Add a control number widget This patchset adds a control number widget - numbers are generated using an authorised value in the CONTROL_NUM_SEQUENCES category Test plan: 1 - Apply patch 2 - Enable helpers for fixed and coded fields in advanced cataloging editor 3 - Add or view 001 field 4 - You should see a 'Manually assign button 5 - Click and add control number 6 - Note the title when hovering over the button 7 - Add an authorised value in the CONTROL_NUM_SEQUENCES category with initial value as 'authorised_value' and Description as you choose 8 - Reload the editor or load a new record 9 - note you now have an 'Assign next' button or an Override button - test both
Could you please make buttons bootstrap styled? See https://wiki.koha-community.org/wiki/Interface_patterns#Buttons
Hi Nick, found some things: 1) comment#2 2) I think the new authorised value category should appear in the list by default. 3) I can't get it to work :( a) When I manually assign the control number, things seem ok. b) When I add the authorised value, I don't see the other buttons as described. I can't get this part to work at all. 4) The stocknumberAV.pl plugin uses a very similar mechanism, but the authorised value code is the prefix (for example the year) and is never changed and the description is the counter. I think making this here consistent with the existing behaviour would be nice.
*** This bug has been marked as a duplicate of bug 19263 ***