From d4f4238bcc709fe521d971a2397d472be5f1b18f 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 --- .../intranet-tmpl/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 2780c3f..171337d 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

+
+ - @@ -66,6 +69,11 @@ + - -- 1.7.10.4
  Fines & chargesSel Description Account type Notify id
[% IF ( line.amountoutstanding > 0 ) %] + + [% END %] + + [% IF ( line.amountoutstanding > 0 ) %] [% END %] @@ -81,11 +89,6 @@ - [% IF ( line.amountoutstanding > 0 ) %] - - [% END %] - [% line.description %] ([% line.title |html_entity %]) [% line.accounttype %] [% line.notify_id %]