Bugzilla – Attachment 170120 Details for
Bug 37588
Add ability to mark a suggestion as Available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37588: Add ability to mark a suggestion as Available
Bug-37588-Add-ability-to-mark-a-suggestion-as-Avai.patch (text/plain), 2.38 KB, created by
Aleisha Amohia
on 2024-08-07 00:16:05 UTC
(
hide
)
Description:
Bug 37588: Add ability to mark a suggestion as Available
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2024-08-07 00:16:05 UTC
Size:
2.38 KB
patch
obsolete
>From 2ba1c2b10581844bd91756e67aa42be74e7ab03f Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleisha@catalyst.net.nz> >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 @@ > <option value="ORDERED">Ordered</option> > [% END %] > >+ [% IF ( statusselected_AVAILABLE ) %] >+ <option value="AVAILABLE" selected="selected">Available</option> >+ [% ELSE %] >+ <option value="AVAILABLE">Available</option> >+ [% END %] >+ > [% FOREACH s IN SuggestionStatuses %] > [% IF s.authorised_value == suggestion.STATUS %] > <option value="[% s.authorised_value | html %]" selected="selected">[% s.lib | html %]</option> >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37588
:
170120
|
170167
|
171489