I have a custom template for my invoices and when I view it it is fine
but when I click PDF it has a break i it
Is it my code or something else I need to do my PDF editor is adobe I am running window 10 office 365
Before PDF
After PDF
Code {% for column in table.columns %} {% endfor %} {% for row in table.rows %} {% for cell in row.cells %} {% endfor %} {% endfor %} {% for column in table.columns %} {% endfor %} {% for total in table.totals %} {% endfor %}
{% for field in custom_fields %}
<tr>
<td colspan="99">
<div style="font-weight: bold; padding-top: 20px">{{ field.label }}</div>
<div>{{ field.text | newline_to_br }}</div>
</td>
</tr>
{% endfor %}
{% if emphasis.text != null and emphasis.positive %}
<tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #006400; border-width: 5px; border-color: #006400; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
{% endif %}
{% if emphasis.text != null and emphasis.negative %}
<tr><td colspan="99"><div style="text-align: center; margin-top: 40px"><span style="color: #FF0000; border-width: 5px; border-color: #FF0000; padding: 10px; font-size: 20px">{{ emphasis.text | upcase }}</span></div></td></tr>
{% endif %}
</tbody>
{{ description }}
|
||||
{{ column.label }} | ||||
{{ cell.text | newline_to_br }} | ||||
{{ total.label }} | {{ total.text }} |