From b4f7dd50de9b2dfe659a0b7e90d3870fc6e75d98 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 5 Feb 2020 01:04:52 +0000 Subject: [PATCH] Bug 24585: Add 'Managed on' and 'Suggested on' columns to pat_purchase_suggestions.tt This patch adds 2 new columns on the suggestions table on purchase-suggestions.tt. These use the data-order attribute to allow for sorting. TEST PLAN: 1. Have a patron with some suggestions that have been managed by staff. (accept or reject the request). 2. View that patrons suggestions from purchase-suggestions.pl. 3. No suggested on or managaed on columns. 4. Apply patch and reload the page. 5. The new columns are there, have multiple suggestions and make sure sorting by the date works. Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/purchase-suggestions.tt | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ecfd4ee850..e5f203c8f3 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 raw %] [% USE Asset %] [% USE Koha %] +[% USE KohaDates %] [% USE AuthorisedValues %] [% USE Branches %] [% SET footerjs = 1 %] @@ -37,6 +38,8 @@ Summary Note Managed by + Managed on + Suggested on Status @@ -73,6 +76,12 @@   [% END %] + + [% s.manageddate | $KohaDates %] + + + [% s.suggesteddate | $KohaDates %] + [% SWITCH s.STATUS %] [% CASE "ASKED" %]Requested -- 2.39.5