I'm building an HRIS using EspoCRM and currently working on creating a salary recap report using the Reports feature. I'm facing an issue when creating the PDF template - I cannot add a row number column to the report.
Currently, I'm using this code in my PDF template:
{{reportTable border=1 borderColor="#333" cellpadding=2 fontSize=7}}
This helper generates the table automatically with all my report columns, and it works well. However, I need to add a "No" (number) column as the first column to show the row sequence (1, 2, 3, etc.).
Is it possible to add a row number column when using the {{reportTable}} helper?
Currently, I'm using this code in my PDF template:
{{reportTable border=1 borderColor="#333" cellpadding=2 fontSize=7}}
This helper generates the table automatically with all my report columns, and it works well. However, I need to add a "No" (number) column as the first column to show the row sequence (1, 2, 3, etc.).
Is it possible to add a row number column when using the {{reportTable}} helper?

Comment