Print purchase receipt in erpnext

How to display company address and supplier address in purchase receipt print format through jinja code

@Dhanya_K all fields are displayed using {{doc.field_name}} . you can find all fieldname by clicking on customize .
the company is doc.company , supplier address is doc.address_display .

{{doc.company}} from this i got company name.But didn’t get address.

Use it.

{{ doc.billing_address_display }}

how get supplier address ?

{{ doc.shipping_address_display }}

Please check the field name in the customize form.

but getting none.

If no supplier address then it’s does not come. so first the insert the supplier address.