Prefix for Invoice Number

Three letters Infront of the automatic 4digit number
i;e, My invoice number starts in 1000 which I have done
I want NOH-1000 and so on NOH-1001, NOH-1002 …

I have copied the Plain theme and created a new Theme

You can try this,

{% if field.label == 'Invoice number' %}
 <div style="font-weight: bold">{{ field.label }}</div>
 <div style="margin-bottom: 10px">NOH-{{ field.text }}</div>
{% else %}
 <div style="font-weight: bold">{{ field.label }}</div>
 <div style="margin-bottom: 10px">{{ field.text }}</div>
{% endif %}
2 Likes

Thank You Frankie Fantastic its working
You are great
I will update you once its running
Thank you again

Or {{ field.text | prepend: “NOH-” }}
Or {{ reference | prepend: “NOH-” }}

2 Likes