Bug 15746: Same fix for "write off"

Same fix as before for the "Write off" button next to the "Pay" button.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Jonathan Druart 2016-02-05 10:58:20 +00:00 committed by Brendan Gallagher
parent 80a690588c
commit efad45a0e3

View file

@ -67,8 +67,7 @@ our $borrower = GetMember( borrowernumber => $borrowernumber );
our $user = $input->remote_user; our $user = $input->remote_user;
$user ||= q{}; $user ||= q{};
my $branches = GetBranches(); our $branch = C4::Context->userenv->{'branch'};
our $branch = GetBranch( $input, $branches );
my $writeoff_item = $input->param('confirm_writeoff'); my $writeoff_item = $input->param('confirm_writeoff');
my $paycollect = $input->param('paycollect'); my $paycollect = $input->param('paycollect');