<?lsmb#   This is a comment block; it's ignored by the template engine.

   Version:  1.2
   Date:     2024-10-08
   File:     PNL.csv
   Set:      demo

Template version numbers are explicitly not aligned across templates or
releases. No explicit versioning was applied before 2021-01-04.

Version   Changes
1.2       Restore 'heading_account' column (turning out not-spurious)
1.1       Remove spurious 'heading_account' column

-?>
account,description,is_heading,heading_account<?lsmb
 FOREACH col IN report.sorted_col_ids -?>
,"<?lsmb report.cheads.ids.$col.props.description ?>"<?lsmb END; ?>
<?lsmb FOREACH row IN report.sorted_row_ids ; -?>
<?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
PARENT = report.rheads.ids.$row.parent_id ;
report.rheads.ids.$PARENT.props.account_number ?><?lsmb
 FOREACH col IN report.sorted_col_ids ; -?>
,<?lsmb report.cells.$row.$col -?><?lsmb
END; ?>
<?lsmb END; -?>
