Display subsidiary address in a single line in Advanced PDF template

By populating subsidiary address on the PDF ,this will show same manner as in the subsidiary record. Suppose user want to show the address in a single line or no needs to display separate line then refer following code sample

<tr>
<td colspan="15">
     <#if companyInformation.mainaddress_text?has_content>
         <#list companyInformation.mainaddress_text?split("<br />") as addr>
              ${addr}&nbsp;
         </#list>
     </#if>
</td>
</tr>

Leave a comment

Your email address will not be published. Required fields are marked *