Bugzilla – Attachment 176013 Details for
Bug 37588
Add ability to mark a suggestion as 'available' from the suggestions management page
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), 3.49 KB, created by
Laura Escamilla
on 2024-12-30 15:54:08 UTC
(
hide
)
Description:
Bug 37588: Add ability to mark a suggestion as Available
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2024-12-30 15:54:08 UTC
Size:
3.49 KB
patch
obsolete
>From 16148deaac07f323217eec5d95c2178303df9167 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, edit a patron and give them a primary email address. >2) Click the More menu at the top and go to Suggestions. >3) Create a new purchase suggestion. Fill in the required bibliographic information. Under the Suggestion management section, click the 'Set to patron' button and search for the patron you just edited. This is to mark the suggestion as created by this patron. Submit your suggestion. >4) Your suggestion is now pending. Check the checkbox for your suggestion and mark it as Available. Submit. >5) View your patron and go to their Notices tab. >6) Confirm the 'suggested purchase available' notice has been generated for them. >7) Repeat steps 2 & 3. >8) Once you've made a new suggestion, go to Edit the suggestion. Under the Suggestion management section, change the Status dropdown to Available. Save. >9) Repeat steps 5 & 6. > >Sponsored-by: Pymble Ladies' College >Signed-off-by: Olivier V <olivier.vezina@inLibro.com> >Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >--- > .../prog/en/modules/suggestion/suggestion.tt | 12 ++++++++++++ > 1 file changed, 12 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 da3d7a66f8..22f69c283e 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> >@@ -934,6 +940,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 %] > <option value="[% s.authorised_value | html %]">[% s.lib | html %]</option> > [% END %] >-- >2.39.5
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
| 176013