ConstructionConsent Changes
This commit is contained in:
@@ -80,7 +80,8 @@ class ConstructionConsent extends mfBaseModel {
|
||||
|
||||
$pdf = new PdfForm("ConstructionConsent/Consentform.pdf", $pdf_vars);
|
||||
|
||||
$wkOpts = "--footer-center '$footer_text' --footer-font-name '$footer_font' --footer-font-size '$footer_size'";
|
||||
//$wkOpts = "--footer-center '$footer_text' --footer-font-name '$footer_font' --footer-font-size '$footer_size'";
|
||||
$wkOpts = "--footer-html '".$_SERVER["HTTP_HOST"].MFFANCYBASEURL."/assets/pdf/ConstructionConsent/Consentform.footer.html' --margin-bottom 15mm --margin-top 10mm";
|
||||
$filename = $pdf->render($wkOpts);
|
||||
|
||||
if(!file_exists($filename) || !is_file($filename)) {
|
||||
|
||||
Reference in New Issue
Block a user