added record county to subdivision all export
This commit is contained in:
@@ -57,6 +57,7 @@ class AllPermitsBySubdivision_Print extends TCPDF {
|
|||||||
public $subscription_serial = 0;
|
public $subscription_serial = 0;
|
||||||
public $first_page = true;
|
public $first_page = true;
|
||||||
public $output_type = "normal";
|
public $output_type = "normal";
|
||||||
|
public $record_count = 0;
|
||||||
|
|
||||||
// ================
|
// ================
|
||||||
// Debug an Object.
|
// Debug an Object.
|
||||||
@@ -101,6 +102,8 @@ class AllPermitsBySubdivision_Print extends TCPDF {
|
|||||||
|
|
||||||
$permits = (new PermitsBySubdivision())->getAllPermitsBySubdivision($permit_area, $projecttype, $_POST);
|
$permits = (new PermitsBySubdivision())->getAllPermitsBySubdivision($permit_area, $projecttype, $_POST);
|
||||||
|
|
||||||
|
$this->record_count = count($permits);
|
||||||
|
|
||||||
// -------
|
// -------
|
||||||
// Permits
|
// Permits
|
||||||
// -------
|
// -------
|
||||||
@@ -186,6 +189,8 @@ class AllPermitsBySubdivision_Print extends TCPDF {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$this->Ln(6);
|
||||||
|
$this->Cell(0, 0, "Records Returned: " . $this->record_count, "", 0, "R", false, "", 3);
|
||||||
|
|
||||||
// --------------
|
// --------------
|
||||||
// Return the pdf
|
// Return the pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user