. */ include "kisscount.php" ; session_start(); ?>
Account number | Account name | Initial value | Cur value | Final value | ||
" . $account["number"] . "* | "; else echo "" . $account["number"] . " | "; echo "" . $account["name"] . " | "; echo "" . number_format($val, 2) . " | "; if (($accounts[$account["id"]]["cur"] + $val) < 0) echo "" . number_format($accounts[$account["id"]]["cur"] + $val, 2) . " | " ; else echo "" . number_format($accounts[$account["id"]]["cur"] + $val, 2) . " | " ; echo "" . number_format($accounts[$account["id"]]["total"] + $val, 2) . " | " ; echo "
Description | Date | Debit | Credit | Category | Account | |||||
" . $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"]); echo "" . number_format($amount, 2) . " | "; echo "" . number_format($amount, 2) . " | "; } else { if ($operation["amount"] < 0) echo "" . number_format(-$operation["amount"], 2) . " | "; else echo " | " . number_format($operation["amount"], 2) . " | "; } if ($operation["meta"] != "1") echo "" . $category["name"] . " | "; else echo ""; echo " | " . $_SESSION["user"]->GetAccountName($operation["account"]) . " | "; echo "
Cur credit | |
Cur debit | |
Total credit | |
Total debit | |
Remains | " . number_format($total_incomes - $total_outcomes, 2) . ""; else echo "" . number_format($total_incomes - $total_outcomes, 2) . " | "; ?>
_ | |
" . $category["name"]. " | " . number_format($categories[$category["id"]], 2) . " ($percent %) |