Files
scripts_serv/ledger/custom/PNL.csv
T
2026-10-02 22:35:11 +02:00

1.0 KiB

1<?lsmb# This is a comment block; it's ignored by the template engine.
2Version: 1.2
3Date: 2024-10-08
4File: PNL.csv
5Set: demo
6Template version numbers are explicitly not aligned across templates or
7releases. No explicit versioning was applied before 2021-01-04.
8Version Changes
91.2 Restore 'heading_account' column (turning out not-spurious)
101.1 Remove spurious 'heading_account' column
11-?>
12accountdescriptionis_headingheading_account<?lsmb
13FOREACH col IN report.sorted_col_ids -?>
14<?lsmb FOREACH row IN report.sorted_row_ids ; -?>
15<?lsmb report.rheads.ids.$row.props.account_number -?><?lsmb report.rheads.ids.$row.props.account_description ?><?lsmb IF report.rheads.ids.$row.props.account_type == 'H' -?>Y<?lsmb ELSE ?>N<?lsmb END ?><?lsmb
16PARENT = report.rheads.ids.$row.parent_id ;
17report.rheads.ids.$PARENT.props.account_number ?><?lsmb
18FOREACH col IN report.sorted_col_ids ; -?>
19<?lsmb report.cells.$row.$col -?><?lsmb
20END; ?>
21<?lsmb END; -?>