Various Issues have been resolved in this commit.
This commit is contained in:
@@ -89,7 +89,7 @@ class PZFacts_Print extends TCPDF {
|
||||
$userssubscription = (new Users())->getUserSubscription($this->usersubscription_serial);
|
||||
|
||||
$user_subscription_start_date = $userssubscription->record->usersubscription_start_date;
|
||||
$user_subscription_end_date = $userssubscription->record->usersubscription_end_date;
|
||||
$user_subscription_end_date = $userssubscription->record->usersubscription_end_date;
|
||||
|
||||
$planningzoningfacts = (new PlanningAndZoningFacts())->getPZFactsPage($user_subscription_start_date, $user_subscription_end_date);
|
||||
|
||||
@@ -185,14 +185,14 @@ class PZFacts_Print extends TCPDF {
|
||||
$curY = $this->GetY() + 1;
|
||||
};
|
||||
|
||||
$row2('Project Description:', $d['pzfact_project_description'], 'Project Type:', $d['pzfact_project_type']);
|
||||
$row2('Architect/Engineer: ', $d['pzfact_professional_name'], 'Estimated Project Value:', $d['pzfact_dollar_value']);
|
||||
$row2('', '', 'District:', $d['pzfact_district']);
|
||||
$row2('Owner Name: ', $d['pzfact_owner_name'], 'Land Lot:', $d['pzfact_land_lot']);
|
||||
$row2('Owner Address: ', $d['pzfact_owner_address'], 'Action Code:', $d['pzfact_action_code']);
|
||||
$row2('Owner Phone: ', $d['pzfact_owner_phone'], 'Action Date:', $d['pzfact_action_date']);
|
||||
$row2('', '', 'Lot Acres:', $d['pzfact_acres']);
|
||||
$row2('', '', '', '');
|
||||
$row2('Project Description:', $d['pzfact_project_description'], 'Project Type:', $d['pzfact_project_type']);
|
||||
$row2('Architect/Engineer: ', $d['pzfact_professional_name'], 'Estimated Project Value:', $d['pzfact_dollar_value']);
|
||||
$row2('', '', 'District:', $d['pzfact_district']);
|
||||
$row2('Owner Name: ', $d['pzfact_owner_name'], 'Land Lot:', $d['pzfact_land_lot']);
|
||||
$row2('Owner Address: ', $d['pzfact_owner_address'], 'Action Code:', $d['pzfact_action_code']);
|
||||
$row2('Owner Phone: ', $d['pzfact_owner_phone'], 'Action Date:', $d['pzfact_action_date']);
|
||||
$row2('', '', 'Lot Acres:', $d['pzfact_acres']);
|
||||
$row2('', '', '', '');
|
||||
|
||||
$row1('Status:', $d['pzfact_status']);
|
||||
};
|
||||
@@ -203,19 +203,19 @@ class PZFacts_Print extends TCPDF {
|
||||
|
||||
$marginL = 10;
|
||||
$marginT = 20; // below header area
|
||||
$pageW = $this->getPageWidth();
|
||||
$pageH = $this->getPageHeight();
|
||||
$pageW = $this->getPageWidth();
|
||||
$pageH = $this->getPageHeight();
|
||||
|
||||
$usableW = $pageW - ($marginL * 2);
|
||||
$usableH = $pageH - $marginT - 12; // leave footer space
|
||||
|
||||
$gapY = 6;
|
||||
$gapY = 6;
|
||||
|
||||
// Two rows per page
|
||||
$cardW = $usableW;
|
||||
$cardH = ($usableH - $gapY) / 2;
|
||||
$cardW = $usableW;
|
||||
$cardH = ($usableH - $gapY) / 2;
|
||||
|
||||
$index = 0;
|
||||
$index = 0;
|
||||
|
||||
foreach ($planningzoningfacts->record as $planningzoningfact) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user