$totalmount += $guarantee->account->balance;
}
$template->param( guarantees => @guarantees);
$template->param( guarantees => \@guarantees);
$template->param( amounttot => sprintf("%.2f",$totalmount));
-