[Koha-bugs] [Bug 13961] Option to include patron's total amount of fines in notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 10 17:45:19 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13961

--- Comment #39 from Kyle M Hall <kyle at bywatersolutions.com> ---
I'm wondering if this is really necessary given the solution provided by Josef.
If we implement this, it means adding yet another database query that will only
be used in a few cases.

That solution from Josef was:
---
[% USE Price %]

# your normal issue slip content

[% SET balance = borrower.account.balance %]
[% IF balance > 0 %]
Patron has debit of [% balance | $Price %].
[% END %]
[% IF balance < 0 %]
Patron has credit of [% balance | $Price %].
[% END %]
---

Is there a slip where this doesn't work? This functions on any slip with a
borrower object. If there is a slip where this doesn't work, it seems more
sensible to add the borrower object instead, right?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list