From d5140930ee7e4c89316744cf0eccd0569e98c397 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 Content-Type: text/plain; charset="utf-8" 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. --- .../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.9.5
  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 %]