How to print {{ doc.name }} in Terms and Condtions

Hello all,

I want to print doc.name in terms and condition text box.

Please tell me is it possible or no.

1 Like

Use below code

{{ name }}

@rohit_w

But invoice number is not getting printed on the print format using above code.

{{doc.name}}

@vishdha

No, {{ doc.name }} same thing is getting printed on print format.

Hi @Vijay_Raju

Make terms and condition template and add above code in that template. On sales invoice just select the template so system will translate the code into value.

Terms and conditions template

On sales invoice

3 Likes

@rohit_w

That’s really great!

But same thing for me not working, I am getting following error.

@Vijay_Raju

Can you please share the code used in the template

@ rohit_w

Here is the screenshot.

@Vijay_Raju
don’t use doc.name just use {{ name }} in the template

3 Likes

@ rohit_w

Thank so much for your time! It is working fine.

1 Like