Bug 36110

Summary: Port default OVERDUES_SLIP to Template Toolkit syntax
Product: Koha Reporter: Emily Lamancusa (emlam) <emily.lamancusa>
Component: NoticesAssignee: Emily Lamancusa (emlam) <emily.lamancusa>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 17976    
Bug Blocks: 15278    
Attachments: Bug 36110: Adjust OVERDUES_SLIP to use Template Toolkit

Description Emily Lamancusa (emlam) 2024-02-15 21:46:45 UTC

    
Comment 1 Emily Lamancusa (emlam) 2024-09-27 15:09:20 UTC
This one cannot be updated until we have a TT equivalent for <<items.fine>>. bug 17976 was filed for this a while back, but it is still in the NEW status.
Comment 2 Emily Lamancusa (emlam) 2024-10-31 15:30:58 UTC
Bug 17976 is now PQA, so this is no longer blocked
Comment 3 Emily Lamancusa (emlam) 2024-12-18 14:57:42 UTC
Created attachment 175657 [details] [review]
Bug 36110: Adjust OVERDUES_SLIP to use Template Toolkit

To test:
1. Apply patch
2. reset_all (or start your testing environment in the first place)
3. Set system preferences finesMode to Calculate and charge
4. Edit default circulation rule so that fines will be calculated:
   Unit - Days
   Fine amount - 0.50
   Fine charging interval - 1
   When to charge - Start of interval
5. Check 2 items out to a patron with a custom due date of a few days in
   the past
6. On the patron's account page, click Print > Print overdues
--> Look at the print preview of the slip, and confirm that the item
    information is displayed and formatted correctly
7. In another tab, edit the 2 items to add a call number (if they don't
   already have one)
8. Print overdues again
--> Confirm the slip still looks good
9. Run the fines cronjob to generate some overdue fines
   ktd --shell
   misc/cronjobs/fines.pl -v -c
10. Print overdues again
--> Confirm the fines are included and slip still looks good
11. Check in one of the overdue items
12. Print overdues again
--> Confirm slip now says "item is" instead of "items are"