View | Details | Raw Unified | Return to bug 20946
Collapse All | Expand All

(-)a/members/pay.pl (-2 / +4 lines)
Lines 140-146 sub add_accounts_to_template { Link Here
140
140
141
    my $patron = Koha::Patrons->find( $borrowernumber );
141
    my $patron = Koha::Patrons->find( $borrowernumber );
142
    my $total = $patron->account->balance;
142
    my $total = $patron->account->balance;
143
    my $account_lines = Koha::Account::Lines->search({ borrowernumber => $borrowernumber, amountoutstanding => { '!=' => 0 } }, { order_by => ['accounttype'] });
143
    my $account_lines
144
        = Koha::Account::Lines->search(
145
        { borrowernumber => $borrowernumber, amountoutstanding => { '>' => 0 } },
146
        { order_by       => ['accounttype'] } );
144
    my @accounts;
147
    my @accounts;
145
    while ( my $account_line = $account_lines->next ) {
148
    while ( my $account_line = $account_lines->next ) {
146
        $account_line = $account_line->unblessed;
149
        $account_line = $account_line->unblessed;
147
- 

Return to bug 20946