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>
This commit is contained in:
parent
417d8df61b
commit
0177b88eb3
|
|
@ -606,7 +606,7 @@ sub payout_amount {
|
|||
type => 'PAYOUT',
|
||||
transaction_type => $params->{payout_type},
|
||||
amountoutstanding => $params->{amount},
|
||||
manager_id => $params->{staff_id},
|
||||
user_id => $params->{staff_id},
|
||||
interface => $params->{interface},
|
||||
branchcode => $params->{branch},
|
||||
cash_register => $params->{cash_register}
|
||||
|
|
|
|||
Loading…
Reference in New Issue