Lines 3836-3842
sub ProcessOfflineIssue {
Link Here
|
3836 |
sub ProcessOfflinePayment { |
3836 |
sub ProcessOfflinePayment { |
3837 |
my $operation = shift; |
3837 |
my $operation = shift; |
3838 |
|
3838 |
|
3839 |
my $patron = Koha::Borrowers->find( { cardnumber => $operation->{cardnumber} }); |
3839 |
my $patron = Koha::Patrons->find( { cardnumber => $operation->{cardnumber} }); |
3840 |
my $amount = $operation->{amount}; |
3840 |
my $amount = $operation->{amount}; |
3841 |
|
3841 |
|
3842 |
Koha::Account->new( { patron_id => $patron->id } )->pay( { amount => $amount } ); |
3842 |
Koha::Account->new( { patron_id => $patron->id } )->pay( { amount => $amount } ); |
3843 |
- |
|
|