]> git.koha-community.org Git - koha.git/commit
Bug 11486: Show renewal count on 'check out' and 'details' tabs in patron record
authorDavid Cook <dcook@prosentient.com.au>
Tue, 7 Jan 2014 04:07:53 +0000 (15:07 +1100)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 23 Jan 2014 17:39:55 +0000 (17:39 +0000)
commitb464eda7c39392143c4448c505312c7bb310ae92
treec14252d9882ab21f31b7a4efb78e80f2cf794940
parent24be6eb80eda9dee146687d5109d41430c7a8c76
Bug 11486: Show renewal count on 'check out' and 'details' tabs in patron record

This patch adds the renewal count to the 'Check out' and "Details' tabs
of the patron record.

This information already exists in the OPAC view of the patron record.
Since librarians might be serving patrons in person who want to know
this information without looking it up online, it makes sense to show
it in the staff client.

There may also be times where librarians want to see how many renewals
a patron has left, how many they've used already, etc. when making other
decisions.

_TEST PLAN_

Before applying:

1) Go to "Check out" with a patron that has some check outs before today
2) Add some check outs for today
*Ensure that all issues are for items that can be renewed*
3) Note that the Renew column just says '0' followed by a check box
4) Check the 'Detail' tab. It should say the same.

Apply the patch.

5) View the "Details" and "Check out" tabs again
6) Note that the renewal count now appears in the form resembling:
5 of 5 renewals remaining

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
members/moremember.pl