How to check whether a value is present or not in the document( In print format)

Hello guys

I added a field in print format, “proforma_invoice”.If the value is present want to print the number else want to print " Not Applicable"

Please help me with this.

Thanks

Hi @jinsy,

Try this.

{{ doc.proforma_invoice or "Not Applicable" }}

Thanks.

Thanks @NCP