blob: d7691bf4d723a41c0ca0d9f029dea34b4534a186 (
plain)
- <?lsmb FOREACH column IN columns;
- IF heading.$column.text;
- heading.$column.text;
- ELSE;
- heading.$column;
- END;
- IF NOT loop.last
- ?>,<?lsmb
- END;
- END ?>
- <?lsmb FOREACH row IN rows;
- FOREACH column IN columns;
- IF row.$column.text.defined;
- row.$column.text;
- ELSE;
- row.$column;
- END;
- IF NOT loop.last
- ?>,<?lsmb
- END;
- END ?>
- <?lsmb END;
- IF totals;
- t = [];
- FOREACH column IN columns;
- t.push(totals.$column);
- END;
- t.join(',');
- END ?>
|