PUQ Mautic Skip to main content

Integration Code

PUQ Customization module WHMCS

 Order now | Download | FAQ

PUQ Customization - OverwriteTaxRules - Integration Code

Add to top "invoicepdf.tpl"

# PUQ Customization - OverwriteTaxRules - Integration Code
if(file_exists(ROOTDIR . '/modules/addons/puq_customization/extensions/OverwriteTaxRules/lib/invoicepdf.php')){
    require_once(ROOTDIR . '/modules/addons/puq_customization/extensions/OverwriteTaxRules/lib/invoicepdf.php');
    foreach(puq_customization_overwrite_tax_rules_invoicepdf($tplvars) as $k=>$v) $$k = $v;
}

By including this code in your invoice template file, you enable the integration of the OverwriteTaxRules extension with the PDF generation process. It allows the extension to modify and customize the invoice PDF output.

Please make sure to place this code immediately after the <?php tag in your invoice template file.

 

image-1687272214461.png