my ( $total, $accts, $numaccts ) = GetMemberAccountRecords($borrowernumber);
foreach my $accountline (@$accts) {
- $accountline->{amount} = sprintf( '%.2f', $accountline->{amount} )
- if ( $accountline->{amount} ) ;
- $accountline->{amountoutstanding} = sprintf( '%.2f', $accountline->{amountoutstanding} )
- if ( $accountline->{amountoutstanding} );
-
if ( $accountline->{accounttype} ne 'F'
&& $accountline->{accounttype} ne 'FU' )
{
}
our $totalprice = 0;
-my $total_format = '';
-$total_format = sprintf( "%.2f", $total ) if ($total);
my $holds_rs = Koha::Holds->search(
{ borrowernumber => $borrowernumber },
borrowernumber => $borrowernumber,
accounts => $accts,
- totaldue => $total_format,
+ totaldue => $total,
issues => build_issue_data( GetPendingIssues($borrowernumber) ),
totalprice => $totalprice,