From 2e36bfbbae4fe469e03cd88dfa82f4f3ad839aed Mon Sep 17 00:00:00 2001 From: K <64089478+kaulith@users.noreply.github.com> Date: Wed, 10 Dec 2025 13:05:36 +0530 Subject: [PATCH] fix: add label for signature field in print format (#35144) --- frappe/templates/print_formats/standard_macros.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frappe/templates/print_formats/standard_macros.html b/frappe/templates/print_formats/standard_macros.html index a7ae56b3c2..86c85d0732 100644 --- a/frappe/templates/print_formats/standard_macros.html +++ b/frappe/templates/print_formats/standard_macros.html @@ -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 -%}