Bug 37588

Summary: Add ability to mark a suggestion as Available
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: AcquisitionsAssignee: Aleisha Amohia <aleisha>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: ovezina
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 37588: Add ability to mark a suggestion as Available
Bug 37588: Add ability to mark a suggestion as Available
Bug 37588: Add ability to mark a suggestion as Available

Description Aleisha Amohia 2024-08-07 00:09:10 UTC
It would be useful for some libraries to be able to manually set a suggestion as Available after it has been ordered.
Comment 1 Aleisha Amohia 2024-08-07 00:16:05 UTC
Created attachment 170120 [details] [review]
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
Comment 2 Katrin Fischer 2024-08-07 07:13:14 UTC
Hi Aleisha, can you explain the use case a bit? At the moment the status "Available" is set once the item has been received. Why would you want to make it Available before that step?
Comment 3 Aleisha Amohia 2024-08-07 19:13:52 UTC
My test plan probably wasn't appropriate now that I think about it!

The use case here is if the library creates the order and forgets to link it to a suggestion.
Comment 4 Katrin Fischer 2024-08-08 12:32:27 UTC
Just wondering one more thing, maybe as an addition to the test plan: is the AVAILABLE notice still sent out if the status is changed manually?
Comment 5 Aleisha Amohia 2024-08-09 03:14:59 UTC
Created attachment 170167 [details] [review]
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
Comment 6 Aleisha Amohia 2024-08-09 03:15:18 UTC
(In reply to Katrin Fischer from comment #4)
> Just wondering one more thing, maybe as an addition to the test plan: is the
> AVAILABLE notice still sent out if the status is changed manually?

I've amended the test plan - great suggestion
Comment 7 Olivier Vezina 2024-09-13 17:10:39 UTC
Created attachment 171489 [details] [review]
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>