dennysutanto
08/21/2024, 3:41 AMCeligo AI
08/21/2024, 3:41 AMAI generated answer (using internal Slack threads):To print the company's address and phone number in the advanced PDF statement, you can use the
${companyInformation}
object. This object contains various fields related to the company's information, including the address and phone number.
Here is how you can use it:
- For the company's address, use ${companyInformation.addressText}
.
- For the company's phone number, use ${companyInformation.phone}
.
However, please note that the ${companyInformation}
object pulls the information from the Subsidiary the Invoice is sourced to. If you want to use a different address that's on the transaction form, you might need to create a custom field to represent the value and then pull that into the advanced PDF.
Here is an example of how you can use these fields in your advanced PDF template:
xml
<#if companyInformation.addressText?has_content>
<p>${companyInformation.addressText}</p>
</#if>
<#if companyInformation.phone?has_content>
<p>${companyInformation.phone}</p>
</#if>
This code will print the company's address and phone number if they are available.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/21/2024, 3:41 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827477932
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812619209
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80496949
Celigo AI
08/21/2024, 3:41 AM