FAQ Item

« Return to FAQ database

invoice_print_basic PDF footer

If the invoice_print_basic footer doesn't stick to the footer of the invoice any more then do this:

  1. Go to Settings > Advanced
  2. Open invoice_print_basic
  3. Change WYSIWYG from Yes to No
  4. Remove the <div id="footer"> ... </div> code and replace it with this:
    <htmlpagefooter name="footer">
    <hr />
    <div id="footer">
    <table>
    <tbody>
    <tr>
    <td>Item1</td>
    <td>Item2</td>
    <td>Item3</td>
    </tr>
    </tbody>
    </table>
    </div>
    </htmlpagefooter>
    <sethtmlpagefooter name="footer" value="on" />

     

You can also try adding this style to the invoice template in order to get the footer sticking to the very bottom of the page in mPDF:
 
@page{
margin-footer:0px;
footer: htmlpagefooter;
}
dtbakerFAQ Item