|
Lines 58-69
if ( $action eq 'print' ) {
Link Here
|
| 58 |
# ReversePayment( $borrowernumber, $input->param('accountno') ); |
58 |
# ReversePayment( $borrowernumber, $input->param('accountno') ); |
| 59 |
} |
59 |
} |
| 60 |
|
60 |
|
| 61 |
if ( $patron->is_child ) { |
|
|
| 62 |
my $patron_categories = Koha::Patron::Categories->search_limited({ category_type => 'A' }, {order_by => ['categorycode']}); |
| 63 |
$template->param( 'CATCODE_MULTI' => 1) if $patron_categories->count > 1; |
| 64 |
$template->param( 'catcode' => $patron_categories->next->categorycde ) if $patron_categories->count == 1; |
| 65 |
} |
| 66 |
|
| 67 |
#get account details |
61 |
#get account details |
| 68 |
my $total = $patron->account->balance; |
62 |
my $total = $patron->account->balance; |
| 69 |
|
63 |
|
| 70 |
- |
|
|