Merge pull request #36348 from KerollesFathy/fix-checkbox-render-in-pdf

fix: render checkbox values correctly in PDF reports
This commit is contained in:
Ejaaz Khan 2026-01-27 09:41:58 +05:30 committed by GitHub
commit 5cf98a5482
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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