fix: add label for signature field in print format (#35144)

This commit is contained in:
K 2025-12-10 13:05:36 +05:30 committed by GitHub
parent b7e4e6b325
commit 2e36bfbbae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
{%- elif df.fieldtype=="Geolocation" -%}
{{ render_geolocation(df, doc) }}
{%- elif df.fieldtype=="Signature" -%}
{{ render_signature(df, doc) }}
{{ render_field_with_label(df, doc, no_of_cols) }}
{%- elif df.fieldtype=="Currency" -%}
{%- if doc.print_templates and
doc.print_templates.get(df.fieldname) -%}
@ -129,10 +129,6 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}"
{{ print_value(df, doc) }}
{% endmacro %}
{%- macro render_signature(df, doc) -%}
{{ print_value(df, doc) }}
{% endmacro %}
{%- macro render_geolocation(df, doc) -%}
{{ "" }}
{%- endmacro -%}