We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.

I just did this… the default layout ok.. but a lot of waste of space causing 2 pay invoices for otherwise a single page invoice…

the easiest way to do multiple pages is explained in the following example

<div style=”position: fixed; top: -35mm; left: 0; width:100%;” id=invoiceheader>
What ever HTML you want here to display as a fixed header on your invoice. In my case its a logo on left and the word Invoice to the right
<div>
<table>
<tr>
<td>cell contains your contact info an address and client info an address</td>
<td>cell contains the invoice details, date, due date etc…</td>
</tr>
</table>
<table>
{TASK_LIST}
</table>

<!— this following snippet is what causes the page break to occur —>
<pagebreak />
<!— what follows is page 2. in my case payment method and payment history —>
<table border=”0″ width=”100%” cellspacing=”0″ cellpadding=”1″ >
<tr>
<td style=”font-size: 14px; font-family: Verdana,Helvetica,sans-serif;”>PAYMENT OPTIONS</td>
</tr>
<tr>
<td style=”font-size: 12px; font-family: Verdana,Helvetica,sans-serif;”>
{PAYMENT_METHODS}
</td>
</tr>
</tbody><br>
</table>
</div>
<div>
<table border=”0″ width=”100%” cellspacing=”0″ cellpadding=”1″ >
<tr>
<td style=”font-size: 14px; font-family: Verdana,Helvetica,sans-serif;”>PAYMENT HISTORY</td>
</tr>
<tr>
<td style=”font-size: 12px; font-family: Verdana,Helvetica,sans-serif;”>
{PAYMENT_HISTORY}
</td>
</tr>
</tbody>
</table>

I have this working 100%

If you want the same header to appear on the second page.. just simply insert after the pagebreak tag

Hope this helps all

Neil – http://itenol.com – We Make SHiT Work (Software, Hardware, information, Technology)

doctortech77478Reply To: page break in template