From 2ba1c2b10581844bd91756e67aa42be74e7ab03f Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 7 Aug 2024 00:11:53 +0000 Subject: [PATCH] Bug 37588: Add ability to mark a suggestion as Available This enhancement provides the ability to edit a suggestion and mark the status as Available. To test: 1) In the staff interface, click the More menu at the top and go to Suggestions. 2) Create a new purchase suggestion. Fill in the required information and Save. 3) Your suggestion is now pending. Check the checkbox for your suggestion and mark it as Accepted. 4) Go to Acqusitions. Create a vendor and basket if you don't have them already. 5) Add to your basket from a suggestion. Order your accepted suggestion. Fill in the required information and save the order. 6) Click the link to the suggestion next to your order, from inside your basket. 7) Notice the status of the suggestion is Ordered. 8) Edit the order. 9) Scroll down to Suggestion management. Confirm there is an 'Available' status in the Status dropdown. Choose this and save. 10) Confirm the suggestion now shows as Available. Sponsored-by: Pymble Ladies' College --- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 6 ++++++ 1 file changed, 6 insertions(+) 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 4b5b7eb03f8..4671a9243e7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -466,6 +466,12 @@ [% END %] + [% IF ( statusselected_AVAILABLE ) %] + + [% ELSE %] + + [% END %] + [% FOREACH s IN SuggestionStatuses %] [% IF s.authorised_value == suggestion.STATUS %] -- 2.39.2