Koha/admin
Owen Leonard 5a4fcb4718 Bug 21918: Update buttons on fines to match newer buttons
This patch makes a number of changes to the "Pay fines" template, the
goal of which is to make the interface look better in general. Changes
include:

 - Styling the "Pay" and "Write off" buttons as Bootstrap buttons.
 - Adding DataTables sorting, searching, and filtering.
 - Adding a column showing the fine date.
 - Hide the "Add note" input, add a link to show it.
 - Add some missing "preventDefault" methods from events.
 - Add "Writeoff selected" to the buttons which are disabled when there
   is no checkbox selection.
 - The <tfoot> tag is now expected by the HTML validator to be after
   <tbody>, so this section has been moved to suppress validator errors.

To test, apply the patch and locate a patron who has multiple
outstanding fines.

 - Go to Fines -> Pay fines
 - Confirm that the table of fines is shown as a DataTable, with sorting
   on columns which have data.
 - Test columns settings in Administration -> Columns settings.
 - Confirm that fine dates are shown, and that sorting by this column
   works correctly.
 - Click an "Add note" link to show a note input field. Focus should be
   in the newly-displayed input.
   - Confirm that notes are still saved correctly when paying or writing
     off single or multiple fines.
   - Confirm that when the "add note" input is hidden, its contents are
     erased.
 - Uncheck all checkboxes by clicking the "Clear all" link at the top.
   The "Pay selected" and "Write off selected" buttons should become
   disabled.
   - Checking any checkbox should re-enable those buttons.
 - Test that the relocated "Apply" button (for outstanding credits)
   still works as expected.

Signed-off-by: Jose-Mario Monteiro-Santos <jose-mario.monteiro-santos@inLibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-01-30 11:41:23 +00:00
..
searchengine/elasticsearch Bug 19365: Index authority fields as phrases 2018-11-26 16:11:02 +00:00
add_user_search.pl Bug 15758: Koha::Libraries - Remove GetBranches 2016-09-08 14:36:03 +00:00
admin-home.pl Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
aqbudgetperiods.pl Bug 19328: Internal server error because of missing currency 2017-10-11 13:05:31 -03:00
aqbudgets.pl Bug 21137: Replace USER_INFO with logged_in_user 2018-08-14 12:43:10 +00:00
aqcontract.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
aqplan.pl Bug 21137: Replace USER_INFO with logged_in_user 2018-08-14 12:43:10 +00:00
audio_alerts.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
auth_subfields_structure.pl Bug 21706: (follow-up) Fix subfield delete button 2018-11-12 16:39:50 -03:00
auth_tag_structure.pl Bug 21706: (follow-up) remove unused template params 2018-11-12 16:39:04 -03:00
authorised_values.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
authtypes.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
biblio_framework.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
branch_transfer_limits.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
branches.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
categories.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
check_budget_parent.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
check_parent_total.pl Bug 19992: use Modern::Perl in Admin perl scripts 2018-02-05 09:45:46 -03:00
checkmarc.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
cities.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
classsources.pl Bug 15836: Mark C4::ClassSource subs DEPRECATED 2018-11-13 15:18:22 +00:00
clone-rules.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
columns_settings.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
columns_settings.yml Bug 21918: Update buttons on fines to match newer buttons 2019-01-30 11:41:23 +00:00
currency.pl Bug 7651: Add a new permission for managing currencies and exchange rates 2018-07-18 17:45:21 +00:00
didyoumean.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
edi_accounts.pl Bug 21605: (follow-up) Simple ternary boolean to number conversion 2019-01-08 13:58:10 +00:00
edi_ean_accounts.pl Bug 21417: EDI ordering fails when basket and EAN libraries do not match 2018-10-09 11:54:08 +00:00
fieldmapping.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
import_export_framework.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
item_circulation_alerts.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
items_search_field.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
items_search_fields.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
itemtypes.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
koha2marclinks.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
library_groups.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
localization.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
marc_subfields_structure.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
marctagstructure.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
matching-rules.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
oai_set_mappings.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
oai_sets.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
overdrive.pl Bug 21082: Update OverDrive authentication method 2018-10-09 11:04:23 +00:00
patron-attr-types.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
preferences.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
printers.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
share_content.pl Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
smart-rules.pl Bug 12365: Notes for rules 2018-11-08 11:43:11 +00:00
sms_providers.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
sru_modmapping.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
systempreferences.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
transport-cost-matrix.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
usage_statistics.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00
z3950servers.pl Bug 14391: Add granular permissions to the administration module 2018-11-07 12:29:32 +00:00