Bugzilla – Attachment 171489 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), 3.42 KB, created by
Olivier Vezina
on 2024-09-13 17:10:39 UTC
(
hide
)
Description:
Bug 37588: Add ability to mark a suggestion as Available
Filename:
MIME Type:
Creator:
Olivier Vezina
Created:
2024-09-13 17:10:39 UTC
Size:
3.42 KB
patch
obsolete
>From fb7b5b6010f569cea0d92f64af80568453b186df 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> >--- > .../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 e342ee6cf0..8de8a5fc42 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.34.1
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