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@lists.koha-community.org
          Reporter: martin.renvo...@ptfs-europe.com
        QA Contact: testo...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to