General Ledger Detailif test="not context.get('posted')" Draft/if
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
for each="group in groups"
Account / Currency
group['account'] / group['currency'].rec_name if group['currency'] else ''
Date	Journal	Entry / Doc.	Debit	Credit	Running	Description / Ref.
for each="line in group['lines']"
format_date(line.posting_date, user.language) if line.posting_date else ''	line.journal.rec_name if line.journal else ''	line.journal_entry_number or '' line.document_number or line.voucher_number or ''	format_currency(line.debit_base_currency or 0, user.language, line.base_currency or company.currency)	format_currency(line.credit_base_currency or 0, user.language, line.base_currency or company.currency)	format_currency(line.running_balance_base_currency or 0, user.language, line.base_currency or company.currency)	line.description or line.move_description or '' line.party.rec_name if line.party else '' line.reference or ''
/for
/for
Company: company.rec_name	General Ledger Detailif test="not context.get('posted')" Draft/if	Print Date: format_date(datetime.date.today(), user.language) at datetime.datetime.now().strftime('%H:%M:%S')
User: user.rec_name	1/3