From f37c05c283e0f91f08dc31a0d71488ee2a43e3fe Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 14 Jan 2015 03:28:07 +0000 Subject: [PATCH] Bug 13549: Add cardnumber to overdue circulation report overdue.pl Test Plan: - Create an overdue item. - Navigate to overdue circulation report (Home -> Circulation -> Overdues) - Notice there is no card number showing in the Patron column. - Apply patch. - Refresh page. - Notice there is a card number showing in the Patron column. Signed-off-by: Justin Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- circ/overdue.pl | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/circ/overdue.pl b/circ/overdue.pl index a0c7af7235..cbcfc093c5 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -264,6 +264,7 @@ if ($noreport) { borrowers.country, borrowers.phone, borrowers.email, + borrowers.cardnumber, issues.itemnumber, issues.issuedate, items.barcode, @@ -345,6 +346,7 @@ if ($noreport) { duedate => output_pref($dt), borrowernumber => $data->{borrowernumber}, barcode => $data->{barcode}, + cardnumber => $data->{cardnumber}, itemnum => $data->{itemnumber}, issuedate => format_date($data->{issuedate}), borrowertitle => $data->{borrowertitle}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index fe2a4bd223..553bcf8154 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -109,7 +109,7 @@ overdue as of [% todaysdate %][% IF ( isfiltered ) %] [% overdueloo.surname %][% IF (overdueloo.firstname) %], [% overdueloo.firstname %][% END %] + [% overdueloo.surname %][% IF (overdueloo.firstname) %], [% overdueloo.firstname %][% END %] ([% overdueloo.cardnumber %]) [% IF ( overdueloo.email ) %][email][% END %] [% IF ( overdueloo.phone ) %]([% overdueloo.phone %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro %])[% END %] [% overdueloo.branchcode %] -- 2.39.5