| " . $operation["description"] . " | ";
}
echo "" . date("d/m/Y", mktime(0, 0, 0, $operation["month"]+1, $operation["day"]+1, $operation["year"])) . " | ";
if ($operation["meta"] == "1" && $operation["amount"] == 0)
{
$amount = MetaPositiveAmount($operation["id"])/100;
echo "" . number_format($amount, 2) . " | ";
echo "" . number_format($amount, 2) . " | ";
}
else
{
if ($operation["amount"] < 0)
echo "" . number_format(-$operation["amount"]/100, 2) . " | | ";
else
echo " | " . number_format($operation["amount"]/100, 2) . " | ";
}
if ($operation["meta"] != "1" && $category["id"] > 1)
echo "" . $category["name"] . " | ";
else
echo " | ";
echo "" . $_SESSION["user"]->GetAccountName($operation["account"]) . " | ";
echo "" . $tag["name"] . " | ";
echo "
\n";
}
?>