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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/