Skip to content

Commit

Permalink
fixes #559
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbathje committed Apr 7, 2015
1 parent 8b84549 commit 65b1cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion report_supply_status.php
Expand Up @@ -11,10 +11,11 @@

$mpdf=new mPDF('win-1252','A4','','',20,15,48,25,10,10);
$mpdf->useOnlyCoreFonts = true; // false is default
$mpdf->SetProtection(array('print'));
//$mpdf->SetProtection(array('print'));
$mpdf->SetTitle($config->ParameterArray["OrgName"] . " " . __("Supply Status Report"));
$mpdf->SetAuthor($config->ParameterArray["OrgName"]);
$mpdf->SetDisplayMode('fullpage');
$mpdf->useActiveForms = true;

$sup = new Supplies();
$bin = new SupplyBin();
Expand Down
3 changes: 2 additions & 1 deletion template_mpdf_reports.inc.php
Expand Up @@ -7,10 +7,11 @@

$mpdf=new mPDF('','',0,'',20,15,48,25,10,10);
$mpdf->useOnlyCoreFonts = true; // false is default
$mpdf->SetProtection(array('print'));
//$mpdf->SetProtection(array('print'));
$mpdf->SetTitle($header . " " . $subheader);
$mpdf->SetAuthor($config->ParameterArray["OrgName"]);
$mpdf->SetDisplayMode('fullpage');
$mpdf->useActiveForms = true;

/* Note: typically you would do zebra-striping in the report using an
nth-child(even) type of css selector on tr (if you know for sure
Expand Down

0 comments on commit 65b1cfc

Please sign in to comment.