fix: render checkbox values correctly in PDF reports

This commit is contained in:
KerollesFathy 2026-01-26 18:52:37 +00:00
parent ede5a62fb3
commit dcf37988a9

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