$account_id, 'name' => $row['account_name'], 'type' => $row['account_type_name'], 'balance' => $balance ]; } function display_account_section($mysqli, $accounts, $type) { foreach ($accounts[$type] as $account) { global $currency_format; global $currency_code; $currency_code = getAccountCurrencyCode($mysqli, $account['id']); echo ""; echo "{$account['type']}"; echo "{$account['name']}"; echo "" . numfmt_format_currency($currency_format, $account['balance'], $currency_code) . ""; echo ""; } } ?>

Balance Sheet

Balance Sheet

As of
Total Assets
Total Liabilities
Total Equities