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

(-)a/members/printinvoice.pl (-14 lines)
Lines 76-94 if ( $accountline->{'amountoutstanding'} <= 0 ) { Link Here
76
    $accountline->{'amountoutstandingcredit'} = 1;
76
    $accountline->{'amountoutstandingcredit'} = 1;
77
}
77
}
78
78
79
my %row = (
80
    'date'                    => dt_from_string( $accountline->{'date'} ),
81
    'amountcredit'            => $accountline->{'amountcredit'},
82
    'amountoutstandingcredit' => $accountline->{'amountoutstandingcredit'},
83
    'description'             => $accountline->{'description'},
84
    'amount'                  => sprintf( "%.2f", $accountline->{'amount'} ),
85
    'amountoutstanding' =>
86
      sprintf( "%.2f", $accountline->{'amountoutstanding'} ),
87
    'accountno' => $accountline->{'accountno'},
88
    accounttype => $accountline->{accounttype},
89
    'note'      => $accountline->{'note'},
90
);
91
92
$template->param(
79
$template->param(
93
    patron         => $patron,
80
    patron         => $patron,
94
    finesview      => 1,
81
    finesview      => 1,
95
- 

Return to bug 21879