Update the address in the PDF template based on the selected subsidiary.

<td margin-top=”18px” font-size=”9pt” padding=”-0.2in 0in 0.2in 0.0in” class=”nameandaddress”>

  <span>

    <#if record.subsidiary == ‘Subsidiary1’>

      4528 55 Ave NW, Edmonton AB T6B 3S2<br />

      &nbsp;105-10711 74 ST SE Calgary AB T2C 5T2<br />

      &nbsp;101-30923 Wheel Ave, Abbotsford BC V2T 6G7<br />

      &nbsp;P: 888-435-6466 &nbsp;&nbsp; E: sales@expertec.ca

    <#elseif record.subsidiary == “Subsidiary2”>

      Company name<br />

      &nbsp;3880 S Power Rd Suite 109<br />

      &nbsp;Gilbert AZ 85234<br />

      &nbsp;United States<br />

    <#else>

      ${companyInformation.companyName}<br />

      ${companyInformation.addressText}

    </#if>

  </span>

  <br /><br />

Leave a comment

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