Sample Table in Country-Specific Reports
The content of the report should be added to the .csr-content section. Usually, this section should contain one table with the .csr-data class.
Each cell in the data table should be assigned the right class depending on its type:
-
.csr-label -the text describing the value (e.g. "A. Fixed Assets")
-
.csr-value -the computed value
<div class="csr-content">
<table class="csr-data">
<thead>
<tr>
<td width="80%">${VAR.header_label.name}</td>
<td width="20%" class="csr-align-right">${VAR.header_value.name}</td>
</tr>
</thead>
<tbody>
<tr>
<td class="csr-label">${VAR.some_var_1.name}</td>
<td class="csr-value">${VAR.some_var_1.value}</td>
</tr>
<tr>
<td class="csr-label">${VAR.some_var_2.name}</td>
<td class="csr-value">${VAR.some_var_2.value}</td>
</tr>
</tbody>
</table>
</div>

Related Topics
- Creating a Template for the Country-Specific Reports SuiteApp
- Subtotals and Totals in Country-Specific Reports
- Indentation Levels in Country-Specific Reports
- List of Accounts in Country-Specific Reports
- Comparative Columns in Country-Specific Reports
- Two-Column Layout in Country-Specific Reports
- Custom Cell Alignment in Country-Specific Reports
- About Sections in Country-Specific Reports