Bug 30458: Include librarian (manager_id) in accountline when using "Payout amount...
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 5 Apr 2022 13:40:51 +0000 (09:40 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 21 Jul 2022 19:01:08 +0000 (16:01 -0300)
commit0177b88eb33d398da4eb5ffb6344226930c3346b
tree09519594cc2c0c3032581c6a38e70fc5be645582
parent417d8df61b4d00b6b904dd374835e99cfb9be4a2
Bug 30458: Include librarian (manager_id) in accountline when using "Payout amount" button

When using the "Payout amount" button, accountlines.manager_id is not
populated. This is not the case with the "Issue payout" buttons.

Test Plan:
1) Create a manual credit
2) Issue a payout using the "Payout amount" button
3) Inspect the payout accountline, note it has no manager_id
4) Apply this patch, restart all the things!
5) Repeat steps 1 and 2
6) Note the new payout accountline has a manager_id!

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
JK: Fix commit title

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Account.pm