diff --git a/frappe/templates/print_formats/standard_macros.html b/frappe/templates/print_formats/standard_macros.html index 660e232ccd..52a93c23db 100644 --- a/frappe/templates/print_formats/standard_macros.html +++ b/frappe/templates/print_formats/standard_macros.html @@ -126,16 +126,16 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}" {% endif %} {%- if doc.meta.is_submittable and doc.docstatus==0-%} -
+

{{ _("DRAFT") }}

{%- endif -%} {%- if doc.meta.is_submittable and doc.docstatus==2-%} -
+

{{ _("CANCELLED") }}

{%- endif -%} {% if max_pages > 1 %} -

{{ _("Page #{0} of {1}").format(page_num, max_pages) }}

+

{{ _("Page #{0} of {1}").format(page_num, max_pages) }}

{% endif %} {%- endmacro -%}