added record county to subdivision all export

This commit is contained in:
2026-07-21 06:54:07 -04:00
parent 72883612e8
commit c8f713707f
@@ -57,6 +57,7 @@ class AllPermitsBySubdivision_Print extends TCPDF {
public $subscription_serial = 0;
public $first_page = true;
public $output_type = "normal";
public $record_count = 0;
// ================
// Debug an Object.
@@ -101,6 +102,8 @@ class AllPermitsBySubdivision_Print extends TCPDF {
$permits = (new PermitsBySubdivision())->getAllPermitsBySubdivision($permit_area, $projecttype, $_POST);
$this->record_count = count($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