Merge pull request #36348 from KerollesFathy/fix-checkbox-render-in-pdf
fix: render checkbox values correctly in PDF reports
This commit is contained in:
commit
5cf98a5482
1 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,8 @@
|
|||
{% format_data = row.is_total_row && ["Currency", "Float"].includes(col.fieldtype) ? data[0] : row %}
|
||||
{% if (row.is_total_row && col._index == 0) { %}
|
||||
{{ __("Total") }}
|
||||
{% } else if (col.fieldtype == "Check") { %}
|
||||
{{ value == 1 ? "✓" : "✗" }}
|
||||
{% } else { %}
|
||||
{{
|
||||
col.formatter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue