[Koha-bugs] [Bug 26332] New: Koha::Account::pay incorrectly defaults to '0' for manager_id
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 1 10:17:35 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26332
Bug ID: 26332
Summary: Koha::Account::pay incorrectly defaults to '0' for
manager_id
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Fines and fees
Assignee: koha-bugs at lists.koha-community.org
Reporter: martin.renvoize at ptfs-europe.com
QA Contact: testopia at bugs.koha-community.org
Since bug 22008 we have a foreign key constraint for manager_id against the
borrowers table; However, we neglected to update the 'pay' routing in
Koha::Account to reflect this non-required field and left it to default to '0'
which may not be a borrower at all.
We should allow 'undef' to be passed into 'pay' unaltered when the interface is
anything other than 'staff'.. as it may reflect a SIP or OPAC payment where no
staff member is required to be present.
--
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