Koha/koha-tmpl/intranet-tmpl/prog/js
Emmi Takkinen 335f68eb51
Bug 16223: Add ability to define liftable restrictions
Some libraries debar Patrons at the end of the year for having unpaid fines,
like in Bug 15157. Currently librarians have to manually remove this type of
debarments after Patron has paid his/her fines.

This patch adds ability to create restrictions which are lifted after
patron pays ceratain amount of fines.

To test:
1. Apply this patch.
2. Restart your services if needed.
3. Navigate to page restrictions.pl.
=> Note that table has two new colums in it, "Lift after payment?" and "Fee limit".
4. Add new restriction which has "Lift after payment?" set
as Yes and fee limit as 5.
5. Create fees for a patron so they exceed fee limit e.g. 10
6. Add restriction made in step 2. for the patron
7. Pay patrons fees partially so that they go under fee limit
=> Note that patrons restriction should now be lifted.

Also prove t/db_dependent/Patron/Borrower_Debarments.t.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Anneli Österman <anneli.osterman@koha-suomi.fi>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-11 12:13:06 -03:00
..
modals
pages Bug 34369: Require CSRF token for updating system preferences 2023-09-25 18:18:40 -03:00
vue Bug 34369: Pass csrf token from syspref API client (for Vue app) 2023-09-25 18:18:40 -03:00
acq.js
acquisitions-menu.js
additem.js Bug 34109: Check mandatory item fields when creating during recipt 2023-09-06 09:57:02 -03:00
addorderiso2709.js
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js Bug 31132: (follow-up) Reset dropdown values and style button 2023-06-23 11:00:59 -03:00
authorities-detail-modal.js Bug 34180: Template variable in JavaScript prevents authority MARC preview from displaying 2023-07-03 14:51:45 -03:00
authtype.js
automatic_item_modification_by_age.js
basket.js Bug 34553: Update send list and send cart popup footers 2023-09-22 11:35:46 -03:00
biblio_framework.js
browser.js Bug 28196: Insert searchid in URL correctly, so it doesn't follow the hash 2023-07-12 14:30:57 -03:00
calendar.js
cart.js
cashup_modal.js
catalog.js Bug 34562: Update more pop-up windows with consistent footer markup 2023-10-09 11:41:25 -03:00
cataloging.js Bug 33744: Fix cloning (sub)fields with framework plugins 2023-09-01 11:07:40 -03:00
cataloging_additem.js
categories.js
charts.js
checkout_renewals_modal.js
checkouts.js Bug 34302: (bug 28653 follow-up) Do not refresh the table if an error happened 2023-09-22 12:35:50 -03:00
cookieconsent.js Bug 27378: Introduce cookie consent to OPAC and staff client 2023-09-12 09:45:07 -03:00
datatables.js Bug 34310: Input prompt in datatables column search boxes untranslatable 2023-09-08 11:54:56 -03:00
desk_selection.js
elasticsearch-mappings.js Bug 34625: Fix search engine configuration tables header problem 2023-09-05 11:52:26 -03:00
file-upload.js
funds_sorts.js Bug 33939: Preserve order budget dropdowns and default budget dropdowns seperately 2023-07-14 15:23:16 -03:00
holds.js Bug 34402: Sorting holds on patron account includes articles 2023-09-12 09:45:03 -03:00
ill-availability-partner.js
ill-availability.js
ill-list-table.js Bug 34351: Add link to access_url 2023-08-15 15:14:08 +03:00
item_search_fields.js
job_progress.js Bug 34364: Fix progress bar progress update 2023-08-18 10:29:26 +03:00
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
members-menu.js
members.js
merge-record.js
messaging-preference-form.js
onboarding.js
patron-webcam.js
recalls.js
register_selection.js
resolve_claim_modal.js
restrictiontypes.js Bug 16223: Add ability to define liftable restrictions 2023-10-11 12:13:06 -03:00
rotating-collections.js
select2.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 21246: (QA follow-up) Add new syspref to control how many previous patrons are displayed 2023-10-11 10:31:40 -03:00
subscription-add.js Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
table_filters.js
tools-menu.js
upload-images.js Bug 32910: (follow-up) A few more icon name corrections 2023-06-12 11:52:11 -03:00
viewlog.js
xmlControlfield.js Bug 34565: Label mismatch in MARC21 006 and 008 cataloging plugins 2023-08-29 14:37:12 -03:00
z3950_search.js