Define a macro for grand total of all bills listed
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Evergreen | Status tracked in Main | |||||
Main |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The Sitka Evergreen consortium is suggesting the following feature not yet available in version 2 staff clients:
In the staff client, the bills page of the patron record includes a button in the bottom left to 'print bills'. The receipt can be formatted under Admin -> Local Administration -> Receipt Template Editor by selecting the 'bills_current' template.
In the default receipt, individual bills are listed separately and there is no grand total. There is no macro to include a total in the receipt footer. The %total_owed% macro is the total charged for a single bill, and 'balance_owed% is the remaining balance for a single bill. It would be helpful to have a macro for 'outstanding total' of all bills combined.
Analysis of the source code shows that the attached patch file will implement three new macros in xul/staff_
The new macros also need to be made available in the receipt template editor, but that is yet to be done.
Branchified
git://git. evergreen- ils.org/ working/ Evergreen. git
collab/ dyrcona/ lp821640
For future reference, please provide patches in univeral diff format. You can usually get this by doing diff -u.