Koha-clms/svc
Martin Renvoize 8b35dfcc9d
Bug 23415: Add debt override support to circulation checkout page
This patch implements fine override functionality for the checkouts
table on the circulation page (circ/circulation.pl), completing the
debt override feature for all renewal workflows.

Changes:
- Added override_debt checkbox to checkouts-table.inc when
  AllowFineOverrideRenewing preference is enabled
- Updated /svc/renew to accept and process override_debt parameter,
  matching the pattern used for override_limit
- Enhanced circulation-api-client.js to pass override_debt parameter
  through the renewal API call
- Implemented specific CSS classes for renewal error types
  (renewals-allowed-too_many, renewals-allowed-too_much_owing, etc.)
  to enable selective checkbox control
- Modified override checkbox handlers to selectively enable only
  relevant renewal checkboxes based on the specific blocking error:
  * override_limit enables checkboxes for 'too_many' and 'on_reserve'
  * override_debt enables checkboxes for 'too_much_owing' and
    'auto_too_much_owing'
- Added AllowFineOverrideRenewing JavaScript variable to circulation.tt

This provides clear visual feedback to staff about which renewals will
be affected by each override option, improving usability and reducing
confusion when multiple items have different blocking reasons.

Sponsored-by: OpenFifth <https://openfifth.co.uk/>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
2026-03-22 23:27:26 +01:00
..
cataloguing
…
club
…
config
…
letters
…
mana
…
members
…
records
…
virtualshelves Bug 40680: Fix svc/virtualshelves/search 2025-12-01 08:33:59 -07:00
article_request
…
authentication
…
authorised_values
…
barcode
…
bib
…
bib_framework
…
bib_profile
…
checkin
…
checkout_notes
…
checkouts Bug 41518: Only show autorenewal text if autorenewal allowed 2026-02-26 09:04:22 -07:00
convert_report
…
cover_images
…
creator_batches
…
holds Bug 40529: Add hold group targets logic 2025-11-03 14:13:14 -07:00
import_bib
…
localization
…
new_bib
…
problem_reports
…
recall
…
renew Bug 23415: Add debt override support to circulation checkout page 2026-03-22 23:27:26 +01:00
report
…
return_claims
…
split_callnumbers
…