Bug 36112 - Port default CHECKOUT_NOTE notice to Template Toolkit syntax
Summary: Port default CHECKOUT_NOTE notice to Template Toolkit syntax
Status: Passed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Emily Lamancusa (emlam)
QA Contact: Kyle M Hall (khall)
URL:
Keywords: Academy
Depends on:
Blocks: 15278
  Show dependency treegraph
 
Reported: 2024-02-15 21:54 UTC by Emily Lamancusa (emlam)
Modified: 2025-01-17 20:02 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 36112: Port default CHECKOUT_NOTE notice to TT (3.55 KB, patch)
2024-09-27 19:24 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review
Bug 36112: Port default CHECKOUT_NOTE notice to TT (3.61 KB, patch)
2024-09-30 22:02 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 36112: Port default CHECKOUT_NOTE notice to TT (3.68 KB, patch)
2025-01-17 20:02 UTC, Kyle M Hall (khall)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2024-02-15 21:54:40 UTC
While we're updating this one... The current notice prints the title, author, and biblionumber of the item. Wouldn't the item barcode be more useful?
Comment 1 Emily Lamancusa (emlam) 2024-09-27 19:24:38 UTC
Created attachment 172160 [details] [review]
Bug 36112: Port default CHECKOUT_NOTE notice to TT

Port the default notice text to Template Toolkit. Also, add access to
item information in order to give more useful information about the
checked-out item that the note refers to (in this case, the item barcode
instead of the biblionumber)

To test:
1. Apply patch and reset all
2. Enable the system preference AllowCheckoutNotes
3. Go to Administration > Libraries and edit the current logged-in
   library to ensure that there is a value in the Email field
4. Check out an item to a patron
5. Ensure the patron has values in the first name and surname fields
6. Log into the OPAC as that patron
7. Click to display the patron's current checkouts
8. Click the + button to the right of a checkout
9. Click the "Add Note" button beneath the table
10. Add some text and submit the note
11. Return to the staff interface and go to the Notices tab for the patron
--> Confirm that there is a notice called "Checkout note" with all the
correct information
Comment 2 Lucas Gass (lukeg) 2024-09-30 22:01:03 UTC
(In reply to Emily Lamancusa from comment #0)
> While we're updating this one... The current notice prints the title,
> author, and biblionumber of the item. Wouldn't the item barcode be more
> useful?

Yes, I think so. biblionumber probably doesn't mean anything to most users.
Comment 3 Lucas Gass (lukeg) 2024-09-30 22:02:11 UTC
Created attachment 172241 [details] [review]
Bug 36112: Port default CHECKOUT_NOTE notice to TT

Port the default notice text to Template Toolkit. Also, add access to
item information in order to give more useful information about the
checked-out item that the note refers to (in this case, the item barcode
instead of the biblionumber)

To test:
1. Apply patch and reset all
2. Enable the system preference AllowCheckoutNotes
3. Go to Administration > Libraries and edit the current logged-in
   library to ensure that there is a value in the Email field
4. Check out an item to a patron
5. Ensure the patron has values in the first name and surname fields
6. Log into the OPAC as that patron
7. Click to display the patron's current checkouts
8. Click the + button to the right of a checkout
9. Click the "Add Note" button beneath the table
10. Add some text and submit the note
11. Return to the staff interface and go to the Notices tab for the patron
--> Confirm that there is a notice called "Checkout note" with all the
correct information

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Comment 4 Kyle M Hall (khall) 2025-01-17 20:02:10 UTC
Created attachment 176754 [details] [review]
Bug 36112: Port default CHECKOUT_NOTE notice to TT

Port the default notice text to Template Toolkit. Also, add access to
item information in order to give more useful information about the
checked-out item that the note refers to (in this case, the item barcode
instead of the biblionumber)

To test:
1. Apply patch and reset all
2. Enable the system preference AllowCheckoutNotes
3. Go to Administration > Libraries and edit the current logged-in
   library to ensure that there is a value in the Email field
4. Check out an item to a patron
5. Ensure the patron has values in the first name and surname fields
6. Log into the OPAC as that patron
7. Click to display the patron's current checkouts
8. Click the + button to the right of a checkout
9. Click the "Add Note" button beneath the table
10. Add some text and submit the note
11. Return to the staff interface and go to the Notices tab for the patron
--> Confirm that there is a notice called "Checkout note" with all the
correct information

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>