Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Matt Blenkinsop 355d7de9a5
Bug 32450: Noissuescharge debit type exclusions
Currently the debit types to be excluded from the noissuescharge syspref are
hardcoded in non_issues_charges which gives no flexibility for selecting which
debit types should be included. This patch amends the subroutine to use a
database flag to identify which debit types should be included. It also adds a
column to the table in the Debit Types area of System Preferences which shows
which debit types are included. The ability to edit all debit types has been
added rather than just the non-system ones and the flag to include/exclude the
debit type from noissuescharge can be changed by clicking that edit button.

Test plan:
1) Choose a patron and add some fines to this patron that have different debit_types
2) Navigate to system preferences and observe that currently you can only amend
   the noissuescharge included debit types using three preferences:
   ManInvInNoissuesCharge, RentalsInNoissuesCharge, HoldsInNoissuesCharge
3) Apply both commits attached to this bug
4) Navigate as above and observe that these three system preferences are now gone
5) Navigate to Debit Types in System Preferences, the table should have a column
   called No issues charge that shows whether a debit_type is Included or Not
   included
6) Click the edit button and there should be a checkbox for Included in
   noissuescharge
7) Change some of the debit_types using this option and observe that the patron
   you added fines to will either be blocked from checkouts or able to checkout
   depending on which debit_types you include and the value of these fines.

Mentored-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-17 10:25:06 -03:00
..
acqui Bug 33541: Add document type to list of suggestions when ordering 2023-05-16 15:17:45 -03:00
admin Bug 32450: Noissuescharge debit type exclusions 2023-05-17 10:25:06 -03:00
authorities Bug 33185: Use template wrapper for tabs on authority and biblio MARC details 2023-04-13 11:48:07 -03:00
basket Bug 33160: (QA follow-up) Adjust condition on biblio object 2023-04-06 09:47:24 -03:00
batch Bug 29244: Add dialog class where missing in print-notices.tt 2021-10-21 12:24:04 +02:00
catalogue Bug 33607: Add framework display to staff details page 2023-05-16 15:17:43 -03:00
cataloguing Bug 33365: (QA follow-up) Add check on item-level_itypes 2023-05-16 10:17:15 -03:00
circ Bug 33223: Replace 'first_valid' with 'notice' for email addresses 2023-05-16 15:17:35 -03:00
clubs Bug 33553: Remove unecessary GetCategories calls in templates 2023-05-16 15:17:35 -03:00
course_reserves Bug 33383: Use template wrapper for breadcrumbs: Course reserves 2023-04-12 09:27:07 -03:00
erm Bug 33408: Remove obsolete tests and template sys pref code 2023-04-13 11:48:02 -03:00
errors Bug 32973: Use template wrapper for breadcrumbs: about, main, and error page 2023-02-27 11:39:31 -03:00
ill Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
installer Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
labels Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
mana
members Bug 28366: Add batch patron modification to patron search results 2023-05-15 18:24:02 -03:00
offline_circ Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
onboarding Bug 30718: (QA follow-up) KohaDates filter on inputs 2022-08-19 08:26:40 -03:00
patron_lists Bug 25379: (QA follow-up) Adjust other occurrences and add line break 2023-05-09 11:47:01 -03:00
patroncards Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
plugins Bug 33463: Remove sort for 'Actions' on the plugins table 2023-05-15 08:53:54 -03:00
pos Bug 32955: Standardize structure around action fieldsets in various templates 2023-04-14 11:35:27 -03:00
recalls Bug 32688: Convert recalls awaiting pickup tabs to Bootstrap 2023-01-30 12:21:34 -03:00
reports Bug 31212: Change datelastseen from date to datetime field 2023-05-12 17:49:55 -03:00
reserve Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
reviews Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
rotating_collections Bug 33555: Use template wrapper for breadcrumbs: Rotating collections 2023-04-21 10:36:22 -03:00
serials Bug 32752: Update serial edit form to allow for new status 2023-05-15 18:24:08 -03:00
services Bug 29496: (bug 27526 follow-up) Fix item form validation 2021-11-19 15:07:10 +01:00
suggestion Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
tags Bug 33565: Use template wrapper for breadcrumbs: Tags 2023-04-24 10:43:35 -03:00
test
tools Bug 32914: (follow-up) Improve handling of list tab visibility 2023-05-16 15:17:33 -03:00
virtualshelves Bug 33599: Use template wrapper for breadcrumbs: Various 2023-05-16 15:17:34 -03:00
about.tt Bug 28267: Add warnings for database row formats 2023-05-05 10:18:35 -03:00
auth.tt Bug 33253: Turn off autocompletion for 2FA authentication code 2023-05-09 11:46:59 -03:00
intranet-main.tt Bug 33133: Add fast cataloging to 'Cataloging' page 2023-03-27 12:50:07 +02:00