Bug 24637: Add brancode in all pay circumstances
commit9c53a9c44547509162c89e2f03020f7a630bd9f1
authorLucas Gass <lucas@bywatersolutions.com>
Tue, 11 Feb 2020 22:56:53 +0000 (11 22:56 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 20 Feb 2020 15:44:31 +0000 (20 15:44 +0000)
tree73ce1149d3a2a123ba58e6355c5e0a31ab1c8678
parent2a6c77f6aaba704e90fa8bc7976696233816ad50
Bug 24637: Add brancode in all pay circumstances

To TEST:
1. Have some fines. Pay them using the Pay Amount or Pay Selected buttons.
2. SELECT branchcode FROM accountlines where borrowernumber = '{borrowernumber}';
3. See that branchcode is NULL
4. Apply patch and restart_all
5. Make a partial payment using both the Pay select and Pay amount buttons.
6. SELECT branchcode FROM accountlines where borrowernumber = '{borrowernumber}';
7. Now you should see the branchcodes in the table and no NULL values.

Signed-off-by: Benjamin Daeuber <bdaeuber@fargolibrary.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
members/paycollect.pl