From e362644218d56a5247552e1f29ccf4d0b25f725c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 11 Feb 2013 15:29:08 -0500 Subject: [PATCH] Bug 7969 - select all / unselect all on fines page This patch adds "select all" and "clear all" links to the pay fines page so that checkboxes which are all checked by default can be easily unchecked and selected individually. This patch also moves the column of checkboxes to the start of the table in order to conform to common practices. To test, vew the "Pay fines" page for a patron who has outstanding charges on their account. Confirm that the "select all" and "clear all" links work correctly and that payment and writeoff functionality is not changed. Signed-off-by: Nicole C. Engard All tests pass Signed-off-by: Jonathan Druart Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/members/pay.tt | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt index 2780c3f3da..171337d224 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -1,6 +1,7 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Pay Fines for [% borrower.firstname %] [% borrower.surname %] [% INCLUDE 'doc-head-close.inc' %] + @@ -40,12 +43,12 @@ [% IF ( accounts ) %]
- - +

Select all | Clear all

+
+ - @@ -64,6 +67,11 @@ [% FOREACH account_grp IN accounts %] [% FOREACH line IN account_grp.accountlines %] + - -- 2.39.2
  Fines & chargesSel Description Account type Notify id
+ [% IF ( line.amountoutstanding > 0 ) %] + + [% END %] + [% IF ( line.amountoutstanding > 0 ) %] @@ -81,11 +89,6 @@ - [% IF ( line.amountoutstanding > 0 ) %] - - [% END %] - [% line.description %] ([% line.title |html_entity %]) [% line.accounttype %] [% line.notify_id %]