From 2a71615b3b0db167c52f0b5e25f160f40789302e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 12 Sep 2024 14:43:37 +0000 Subject: [PATCH] Bug 37907: Add column to user summary to show date an item was checked out on This patch adds a "Checked out on" column to the table of checkouts and the table of overdues on the OPAC user summary page. To test, apply the patch and log in to the OPAC as a user who has overdue items. - On the user summary page confirm that the "Checked out" table shows a column for "Checked out on" and that the information is displayed correctly. - Make the same check of the "Overdue" tab. Sponsored-by: Athens County Public Libraries --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index 3d5158133d8..b319280ffc2 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -334,6 +334,7 @@ [% IF ( JacketImages ) %] [% END %] Title Author + Checked out on Due [% IF ( Koha.Preference('BiblioItemtypeInfo') || !item_level_itypes ) %] Item type @@ -415,6 +416,9 @@ [% ISSUE.author | html %] + + [% ISSUE.issuedate | $KohaDates as_due_date => 1 %] + [% IF ( ISSUE.overdue ) %] [% ISSUE.date_due | $KohaDates as_due_date => 1 %] @@ -718,6 +722,7 @@ [% UNLESS ( item_level_itypes ) %]Item type [% END %] [% IF ( show_barcode ) %]Barcode[% END %] Call number + Checked out on Due [% IF ( OpacRenewalAllowed ) %] Renew @@ -784,6 +789,9 @@ [% OVERDUE.itemcallnumber | html %] + + [% OVERDUE.issuedate | $KohaDates as_due_date => 1 %] + [% OVERDUE.date_due | $KohaDates as_due_date => 1 %] -- 2.39.2