How do I add a header and footer to WHMCS quotations v6.2.3?

Here are 2 examples that will place a header and footer in your PDF invoice.

 

HEADER:

 

 

<?php
/**
* Add a header to the quotepdf.tpl file
* check out  http://docs.whmcs.com/PDF_Invoice#Header_.26_Footer
*/

$pdf->SetFont($pdfFont, '', 8);

$html .= '<p>This is the header text</p>';
$pdf->writeHTML($html, true, false, false, false, '');
 FOOTER:

 <?php

$pdf->SetFont($pdfFont, '', 8);

$html .= '<p>This is the footer</p>';
$pdf->writeHTML($html, true, false, false, false, '');
 

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I change my remember password options in Google Chrome

Manage your website passwords This article applies to the Google Chrome browser on Windows,...

Change time is Gmail

Correct Your Gmail Time Zone To set your Gmail time zone: Click the gear in your Gmail's...

How to speed up Windows XP use at your own risk

Warning: occasionally people break their PC badly by using this list of suggestions. Usually...

How to run cmd in escalated mode with admin rights to modify firewall

a solution: runas /user:administrator@domainname.local cmd then in the resulting command...

How do I enable auto login in Windows

This article describes how to configure Windows to automate the logon...