Lines 94-99
elsif ( $input->param('apply_credits') ) {
Link Here
|
94 |
apply_credits({ patron => $patron, cgi => $input }); |
94 |
apply_credits({ patron => $patron, cgi => $input }); |
95 |
} |
95 |
} |
96 |
elsif ( $input->param('confirm_writeoff') ) { |
96 |
elsif ( $input->param('confirm_writeoff') ) { |
|
|
97 |
my $item_id = $input->param('itemnumber'); |
97 |
my $accountlines_id = $input->param('accountlines_id'); |
98 |
my $accountlines_id = $input->param('accountlines_id'); |
98 |
my $amount = $input->param('amountwrittenoff'); |
99 |
my $amount = $input->param('amountwrittenoff'); |
99 |
my $payment_note = $input->param("payment_note"); |
100 |
my $payment_note = $input->param("payment_note"); |
Lines 120-125
elsif ( $input->param('confirm_writeoff') ) {
Link Here
|
120 |
type => 'WRITEOFF', |
121 |
type => 'WRITEOFF', |
121 |
note => $payment_note, |
122 |
note => $payment_note, |
122 |
interface => C4::Context->interface, |
123 |
interface => C4::Context->interface, |
|
|
124 |
item_id => $item_id, |
123 |
library_id => $branch, |
125 |
library_id => $branch, |
124 |
} |
126 |
} |
125 |
)->{payment_id}; |
127 |
)->{payment_id}; |
126 |
- |
|
|