Get field isTaxFree in PDF template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ste1011
    Junior Member
    • May 2025
    • 2

    #1

    Get field isTaxFree in PDF template

    Hello,
    im trying to evaluate the field isTaxFree in a PDF template but I couldn't get it to work.

    <!-- {{#if isTaxFree}} -->
    ...
    <!-- {{/if}} -->

    Also I tried to use a custom field 'cSteuern'. I can't access this field also within <!-- {{#each itemList}} -->

    Does anyone know how to uses these field?

    EspoCRM 9.1.4
    SalesPack 2.6.12​

    Thanks in advance
  • yuri
    Member
    • Mar 2014
    • 9006

    #2
    Hi,

    This might work out:

    Code:
    {{#if product.isTaxFree}}
    This must be inside the itemList loop.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • ste1011
      Junior Member
      • May 2025
      • 2

      #3
      Thank you very much, now it is working

      Comment

      Working...