|
Lines 423-428
sub balance {
Link Here
|
| 423 |
|
423 |
|
| 424 |
my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_debits; |
424 |
my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_debits; |
| 425 |
|
425 |
|
|
|
426 |
It returns the debit lines with outstanding amounts for the patron. |
| 427 |
|
| 428 |
In scalar context, it returns a Koha::Account::Lines iterator. In list context, it will |
| 429 |
return a list of Koha::Account::Line objects. |
| 430 |
|
| 426 |
=cut |
431 |
=cut |
| 427 |
|
432 |
|
| 428 |
sub outstanding_debits { |
433 |
sub outstanding_debits { |
|
Lines 440-445
sub outstanding_debits {
Link Here
|
| 440 |
|
445 |
|
| 441 |
my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_credits; |
446 |
my $lines = Koha::Account->new({ patron_id => $patron_id })->outstanding_credits; |
| 442 |
|
447 |
|
|
|
448 |
It returns the credit lines with outstanding amounts for the patron. |
| 449 |
|
| 450 |
In scalar context, it returns a Koha::Account::Lines iterator. In list context, it will |
| 451 |
return a list of Koha::Account::Line objects. |
| 452 |
|
| 443 |
=cut |
453 |
=cut |
| 444 |
|
454 |
|
| 445 |
sub outstanding_credits { |
455 |
sub outstanding_credits { |
| 446 |
- |
|
|