[Koha-bugs] [Bug 34277] Add an API endpoint to return all patrons with outstanding charges
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Sep 14 20:04:43 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34277
--- Comment #12 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Tomás Cohen Arazi from comment #11)
> Can't we simplify it like
>
> GET /patrons?with_outstanding_debts=1
> x-koha-embed: balance
For implementing this, you could:
- Use Koha::Patrons->filter_by_amount_owed (or a simplified version, > 0, on
top of it)
- You would need to implement Koha::Patron->balance, for embedding purposes.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list