[Koha-devel] Discussion of account types / labels

Barton Chittenden barton at bywatersolutions.com
Fri Feb 22 21:00:35 CET 2019


The accounts system uses the following codes to show what kind of fee or
credit has been issued:

A = Account management fee
C = Credit
F = Overdue fine
FOR = Forgiven
FU = Overdue, still accruing
L = Lost item
LR = Lost item returned/refunded
M = Sundry
N = New card
PAY = Payment
W = Writeoff

The labels, such as 'Account management fee' and 'Overdue fine' are hard
coded in various template toolkit files. This is problematic for a number
of reasons:

1) It's not obvious where these are defined -- most other constants in Koha
are in authorized values.
https://koha-community.org/manual/18.05/en/html/faq.html#fines-table is the
only place where a koha user can find them all in one place.
2) Because they're not in the database, they can't be used in reports (at
least without kludgy case statements).
3) They're not available outside the web interface, so SIP2 and any API
endpoints must show the raw codes.
4) 'FU' is a common abbreviation for an obscenity in English, and this has
a tendency to show in up in a lot of places where it really shouldn't.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20190222/02548515/attachment.html>


More information about the Koha-devel mailing list