Customized form with only first line from address

Thanks for all your support,

Now for SETUP - PRINTING- PRINT FORMAT

I’m trying to make my own POS FORMAT and need to incorporate Customer ADDRESS line1. (only the first line).

So I went to SETUP - CUSTOMIZE - CUSTOMIZED FORM then selected SALES INVOICE and got the “address_display”.

So I tried to incorporate “address_display” to the form and did not worked, co how can I incorporate the customer Address to this print form?

Almost all invoices formats we have to include the Customer Address.

So how can I incorporate customer address?

You might have to split the address_display like

{{ doc.address_display.split("\n")[0] }}

Thanks it worked.