|
Lines 276-287
sub makepayment {
Link Here
|
| 276 |
} |
276 |
} |
| 277 |
|
277 |
|
| 278 |
UpdateStats({ |
278 |
UpdateStats({ |
| 279 |
branch => $branch, |
279 |
branch => $branch, |
| 280 |
type => 'payment', |
280 |
type => 'payment', |
| 281 |
amount => $amount, |
281 |
amount => $amount, |
| 282 |
borrowernumber => $borrowernumber, |
282 |
borrowernumber => $borrowernumber, |
| 283 |
accountno => $accountno} |
283 |
accountno => $accountno |
| 284 |
); |
284 |
}); |
| 285 |
|
285 |
|
| 286 |
#check to see what accounttype |
286 |
#check to see what accounttype |
| 287 |
if ( $data->{'accounttype'} eq 'Rep' || $data->{'accounttype'} eq 'L' ) { |
287 |
if ( $data->{'accounttype'} eq 'Rep' || $data->{'accounttype'} eq 'L' ) { |
|
Lines 726-737
sub makepartialpayment {
Link Here
|
| 726 |
'', 'Pay', $data->{'itemnumber'}, $manager_id, $payment_note); |
726 |
'', 'Pay', $data->{'itemnumber'}, $manager_id, $payment_note); |
| 727 |
|
727 |
|
| 728 |
UpdateStats({ |
728 |
UpdateStats({ |
| 729 |
branch => $user, |
729 |
branch => $branch, |
| 730 |
type => 'payment', |
730 |
type => 'payment', |
| 731 |
amount => $amount, |
731 |
amount => $amount, |
| 732 |
borrowernumber => $borrowernumber, |
732 |
borrowernumber => $borrowernumber, |
| 733 |
accountno => $accountno} |
733 |
accountno => $accountno |
| 734 |
); |
734 |
}); |
| 735 |
|
735 |
|
| 736 |
if ( C4::Context->preference("FinesLog") ) { |
736 |
if ( C4::Context->preference("FinesLog") ) { |
| 737 |
logaction("FINES", 'CREATE',$borrowernumber,Dumper({ |
737 |
logaction("FINES", 'CREATE',$borrowernumber,Dumper({ |
| 738 |
- |
|
|