PUQ Mautic

Integration Code

 

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


Revision #3
Created 20 June 2023 14:35:41 by Ruslan
Updated 11 July 2023 10:45:41 by Ruslan