Merge pull request #13794 from leela/report-view-print-row-numbering

style: Add row numbering for report view print format
This commit is contained in:
Leela vadlamudi 2021-07-29 16:32:22 +05:30 committed by GitHub
commit e79fd6d6a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,6 +11,7 @@
<!-- heading -->
<thead>
<tr>
<th> # </th>
{% for col in columns %}
{% if col.name && col._id !== "_check" %}
<th
@ -30,6 +31,9 @@
<tbody>
{% for row in data %}
<tr style="height: 30px">
<td {% if row.bold == 1 %} style="font-weight: bold" {% endif %}>
<span> {{ row._index + 1 }} </span>
</td>
{% for col in columns %}
{% if col.name && col._id !== "_check" %}