Quote Templates

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tobias
    Senior Member
    • May 2016
    • 229

    Quote Templates

    We've created a new Quote that contains the following HTML code in a custom field "individualConditions":
    HTML Code:
    <table>
    <tbody>
    <tr>
       <td>A</td>
       <td>B</td>
       <td>C</td>
       <td>D</td>
    </tr>
    <tr>
       <td>A</td>
       <td>B</td>
       <td>10</td>
       <td>99</td>
    </tr>
    </tbody>
    </table>
    We've also created a Quote template that references the above field as follows:

    HTML Code:
    <table>
    <tbody>
    <!-- {{#if individualConditions}} -->
    <tr><td>{{{individualConditions}}}</td></tr>
    <!-- {{/if}} -->
    </tbody>
    </table>
    However, the generated PDF is all messed up - see screenshot attached.

    NB: When including the fields's code in the template directly, it works a treat.

    Any ideas?
    Last edited by tobias; 09-28-2017, 06:20 PM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Don't brake the line (write all the html text in one row)

    Comment

    • tobias
      Senior Member
      • May 2016
      • 229

      #3
      That did the trick, thank you!

      Comment

      Working...