Lines 3814-3820
sub ProcessOfflineIssue {
Link Here
|
3814 |
sub ProcessOfflinePayment { |
3814 |
sub ProcessOfflinePayment { |
3815 |
my $operation = shift; |
3815 |
my $operation = shift; |
3816 |
|
3816 |
|
3817 |
my $patron = Koha::Borrowers->find( { cardnumber => $operation->{cardnumber} }); |
3817 |
my $patron = Koha::Patrons->find( { cardnumber => $operation->{cardnumber} }); |
3818 |
my $amount = $operation->{amount}; |
3818 |
my $amount = $operation->{amount}; |
3819 |
|
3819 |
|
3820 |
Koha::Account->new( { patron_id => $patron->id } )->pay( { amount => $amount } ); |
3820 |
Koha::Account->new( { patron_id => $patron->id } )->pay( { amount => $amount } ); |
3821 |
- |
|
|