From a9010230d00a683886632c658a19415f2a28aaf1 Mon Sep 17 00:00:00 2001 From: Andreas Roussos Date: Sat, 17 Sep 2016 19:43:13 +0300 Subject: [PATCH] Bug 16535 - Add the date on which the suggestion was managed on Purchase suggestions tab In the Staff client, under Patrons, the 'Purchase suggestions' tab for a patron does not include the date on which the suggestion was managed. If you follow a different route and go to Acquisitions > Suggestions, then the date is shown. This patch adds that enhancement (and fixes an open tag, too). Test plan: 0) [PREREQUISITES] Create a suggestion and manage it, i.e. edit it a bit. 1) Go to Patrons and search for a patron whose suggestion has been managed. In the 'Purchase suggestions' tab for the patron, notice how the third column only lists _who_ managed the suggestion but not _when_. 2) Apply the patch. 3) Repeat step 1). The date the suggestion was managed should be displayed. --- .../intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt index 96f6081..4891f3f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt @@ -1,6 +1,7 @@ [% USE Koha %] [% USE AuthorisedValues %] [% USE Branches %] +[% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › Purchase suggestions for [% INCLUDE 'patron-title.inc' %] @@ -46,7 +47,7 @@ Summary Note - Managed by + Managed by - on Status @@ -73,12 +74,13 @@ [% IF ( s.itemtype ) %] - [% s.itemtype %][% END %]

- [% s.note %] + [% s.note %] [% IF ( s.surnamemanagedby ) %] [% s.surnamemanagedby %] [% IF ( s.firstnamemanagedby ) %],[% END %] [% s.firstnamemanagedby %] + [% IF ( s.manageddate ) %] - [% s.manageddate | $KohaDates %][% END %] [% ELSE %]   [% END %] -- 2.1.4