Trial Balance
Fiscal Year: fiscalyear.rec_name
if test="start_period or end_period"
From Period: start_period.name if start_period else '' To end_period.name if end_period else ''
/if
if test="from_date or to_date"
From Date: format_date(from_date, user.language) if from_date else '' To format_date(to_date, user.language) if to_date else ''
/if
Account	Start Balance	Debit	Credit	End Balance
for each="account in accounts"
account.rec_name	format_currency(account.start_balance, user.language, company.currency)	format_currency(account.debit, user.language, company.currency)	format_currency(account.credit, user.language, company.currency)	format_currency(account.end_balance, user.language, company.currency)
/for
Total	format_currency(sum(accounts, 'start_balance'), user.language, company.currency)	format_currency(sum(accounts, 'debit'), user.language, company.currency)	format_currency(sum(accounts, 'credit'), user.language, company.currency)	format_currency(sum(accounts, 'end_balance'), user.language, company.currency)
Company: company.rec_name	Trial Balance	Print Date: format_date(datetime.date.today(), user.language) at datetime.datetime.now().strftime('%H:%M:%S')
User: user.rec_name	1/1