Advanced PDF on Expense Report Prints Different Currency Symbol Than on Transaction

A currency symbol on Advanced PDF/HTML Template printout for Expense Report is different from currency submitted on transaction itself.

The currency symbol printed is a Base Currency symbol

For example:

Base Currency is US Dollar
Expense Report is submitted with EUR currency
Currency Symbol on PDF printout is “$” instead of “€”
An alternate solution is to assign currency symbol in Advanced PDF/HTML Template code and re-write the base currency symbol by IF condition.

Note: This issue is tracked under the Defect # 549317 Foreign Currency Expense Reports > Print > Advanced Printing Type, Standard Expense Report PDF/HTML Template > Wrong currency symbol.

  1. Navigate to Customization > Forms > Advanced PDF/HTML Templates
  2. Expense Report template: Click Edit or Customize
  3. In <body> section assign currency symbol:

    <#if record.expensereportcurrency == “Euro”><#assign currencySymbol=”€”>
    <#elseif record.expensereportcurrency == “US Dollar”><#assign currencySymbol=”$”>
    <#elseif record.expensereportcurrency == “British Pound”><#assign currencySymbol=”£”>

    </#if>

     
  4. Use the assigned currency symbol where needed:
    Example:

    <td align=”right” class=”totalboxmid” colspan=”5″>${currencySymbol}${record.total?string(“#,##0.00”)}</td>
     
  5. Click Save

Leave a comment

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