From cc5a864b36e269e6edf01f03846fb510f9b23cc1 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 31 Jan 2023 23:38:57 +0000 Subject: [PATCH] Bug 32774: Add patron category to suggestion managment tables To test: 1. Apply patch 2. Regenrate the staff CSS ( https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface ) 3. Make some suggestions 4. Go to Acquisitions > Suggestions management 5. Notice the 'Suggested by' column now included the patron category. 6. Put some suggestions in different statuses and make sure you see the patron category in each of the tables. Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 ++- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 31404446409..38c9d526a9d 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -4225,7 +4225,8 @@ div#makechart ol li { list-style: none; } -div .suggestion_note { +div .suggestion_note, +div .suggester_category { background: transparent none; border-style: dotted; border-width: 1px 0 0 0; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index bfaef57f43d..fb018017252 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -807,6 +807,7 @@ [% SET suggester = s.suggester %] [% suggester.surname | html %][% IF suggester.firstname %], [% suggester.firstname | html %][% END %] [% IF suggester.cardnumber %]([% suggester.cardnumber | html %])[% END %] +
[% suggester.category.description | html %] ([% suggester.categorycode | html %])
[% IF ( s.suggesteddate ) %][% s.suggesteddate | $KohaDates %][% END %] -- 2.37.1 (Apple Git-137.1)