https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8137

--- Comment #176 from Thibaud Guillot (thibaud_g) 
<[email protected]> ---
Created attachment 208536
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208536&action=edit
Bug 8137: Add 'Global checkout limits' table to circulation rules page

This adds a "Global checkout limits" table to the circulation and fines rules
page, to set global maxissueqty and maxonsiteissueqty rules by patron category
and item type. The table can be edited from the rules for all libraries only,
and is shown read-only on library pages when global limits exist.

Test plan:
1. Go to Administration > Circulation and fines rules, all libraries
2. In "Global checkout limits", add All/All: 2 and 1
   => The row is listed
3. Edit the row, set current checkouts allowed to 0 and save
   => 0 is displayed (not "Not defined")
4. Edit the row, empty current on-site checkouts allowed and save
   => "Not defined" is displayed, the rule is removed
5. Edit the row, click Clear
   => The global limits edit row is cleared, the main rules edit row is not
6. Select a library
   => The global limits are listed read-only, without actions nor edit row
7. Delete the row from all libraries
   => The table is empty, and not shown on library pages anymore

Sponsored-by: BibLibre

Co-Authored-By: Claude Opus 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to