Bug 39042 - Add a template plugin method for calculating patron savings
Summary: Add a template plugin method for calculating patron savings
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 16:15 UTC by Lucas Gass (lukeg)
Modified: 2025-02-05 16:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2025-02-05 16:15:26 UTC
It would be handy to have an easy way to calculate user savings, similar to what was done in Bug 31051, that was easy to access in a notice/slip/template. 

We frequently have a request to add this to various notices/slips. This can include:

-Today's savings 
-Year to date, which can be both calendar year or last 365 days
-Lifetime savings 

Maybe something in /Koha/Template/Plugin/ ?