[Koha-bugs] [Bug 22512] New: accountlines.accountype mixes 'state' and 'type'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 14 12:13:48 CET 2019


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

            Bug ID: 22512
           Summary: accountlines.accountype mixes 'state' and 'type'
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.renvoize at ptfs-europe.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

Currently the accountlines.accounttype field is used to denote both the 'type'
of a credit or debit and often mixes in it's 'state'. This is bad design and
leads to superflous 'types' in reality.

Examples:
* 'FU' (fine "updating") becomes 'F' (fine) once it's 'fixed'.
* 'FU' (fine "updating") may become 'FFOR' (fine "forgiven").
* 'L' (lost item) may become 'LR' (lost returned).
* 'Rep' (replaced?) may become 'LR' (lost returned).
* 'W' (writeoff) may become 'LR' (lost returned).


These type+state mixes can lead to confusion in both code and end user facing
messages.

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


More information about the Koha-bugs mailing list