Bug 9380 - branch not recording right on writeoff
Test Plan: 1) Write off fines as various branches 2) Observe the stats lines include the wrong branchcode 3) Apply patch 4) Repeate step 1 5) Observe the stats lines include the correct branchcode Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Also tested by changing branch and writing off again - all tests pass. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Checked individual and complete write off for different branches. Write offs were always recorded correctly for the logged in branch. All tests and QA script pas. Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
924e855539
commit
2aeee008ce
|
|
@ -89,7 +89,7 @@ if ($writeoff_all) {
|
|||
my $itemno = $input->param('itemnumber');
|
||||
my $account_type = $input->param('accounttype');
|
||||
my $amount = $input->param('amountoutstanding');
|
||||
WriteOffFee( $borrowernumber, $accountlines_id, $itemno, $account_type, $amount, $branch );
|
||||
WriteOffFee( $borrowernumber, $accountlines_id, $itemno, $account_type, $amount );
|
||||
}
|
||||
|
||||
for (@names) {
|
||||
|
|
@ -205,7 +205,7 @@ sub writeoff_all {
|
|||
my $amount = $input->param("amountoutstanding$value");
|
||||
my $accountno = $input->param("accountno$value");
|
||||
my $accountlines_id = $input->param("accountlines_id$value");
|
||||
WriteOffFee( $borrowernumber, $accountlines_id, $itemno, $accounttype, $amount, $branch );
|
||||
WriteOffFee( $borrowernumber, $accountlines_id, $itemno, $accounttype, $amount );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue