Altered GHR-Builder to show popovers, added logo favicon, and changed DONE to Return to Subscription Page.

This commit is contained in:
James Richie
2026-04-21 20:23:49 -04:00
parent cb9e1a9fa1
commit b77e555e6f
7 changed files with 17 additions and 22 deletions
+1 -2
View File
@@ -253,8 +253,7 @@ class Counties extends Base {
public function getCounties() {
$SQL = "select view_counties.*
from view_counties";
$SQL = "select view_counties.* from view_counties";
return $this->getTable("counties", $SQL);
}
+1 -1
View File
@@ -7,7 +7,7 @@ $(document).ready(function () {
var $application = $("#APPLICATION_MNEMONIC").val(), $sessionStorage = JSON.parse(sessionStorage.getItem($application) || "{}");
console.log($sessionStorage);
// console.log($sessionStorage);
// =================
// Process Enter Key
+1 -4
View File
@@ -2,9 +2,6 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/JamesRichie/OneDrive%20-%20OneSource%20IT%20Solutions%20LLC/Documents/NetBeansProjects/dec-international/atlhousingreport/views/view_company_permit_trends.php</file>
<file>file:/C:/Users/JamesRichie/OneDrive%20-%20OneSource%20IT%20Solutions%20LLC/Documents/NetBeansProjects/dec-international/atlhousingreport/xsl/searchPermitsByBuilder.xsl</file>
</group>
<group/>
</open-files>
</project-private>
@@ -102,7 +102,7 @@ class SelectedPermitsBySubdivision_Print extends TCPDF {
foreach ($permits as $permit) {
$county_serial = $permit->rdi_county;
$county_serial = $permit->permit_county;
$county_name = (new Counties())->getCounty($county_serial);
$permit->county_name_verbose = $county_name->record->county_name;
@@ -148,16 +148,16 @@ class SelectedPermitsBySubdivision_Print extends TCPDF {
$this->stripeLine($rowCount, 268);
$rowCount++;
$address = "{$permit->rdi_address} {$permit->rdi_city}, {$permit->rdi_state} {$permit->rdi_zip}";
$address = "{$permit->permit_address} {$permit->permit_city}, {$permit->permit_state} {$permit->permit_zip}";
$permit_value = "$" . number_format((int) $permit->rdi_value, 2);
$permit_value = "$" . number_format((int) $permit->permit_value, 2);
$this->Cell(15, 0, $permit->county_name_verbose, 0, 0, "L", false, "", 3);
$this->Cell(40, 0, $permit->rdi_sub_div_name, 0, 0, "L", false, "", 3);
$this->Cell(40, 0, $permit->permit_sub_div_name, 0, 0, "L", false, "", 3);
$this->Cell(85, 0, $address, 0, 0, "L", false, "", 3);
$this->Cell(60, 0, $permit->rdi_company, 0, 0, "L", false, "", 3);
$this->Cell(20, 0, $permit->rdi_permit_date_verbose, 0, 0, "L", false, "", 3);
$this->Cell(15, 0, $permit->rdi_size, 0, 0, "L", false, "", 3);
$this->Cell(60, 0, $permit->permit_company, 0, 0, "L", false, "", 3);
$this->Cell(20, 0, $permit->permit_permit_date_verbose, 0, 0, "L", false, "", 3);
$this->Cell(15, 0, $permit->permit_size, 0, 0, "L", false, "", 3);
$this->Cell(20, 0, $permit_value, 0, 0, "L", false, "", 3);
$this->Ln(4);
+1 -1
View File
@@ -28,7 +28,7 @@
<xsl:value-of select="$APPLICATION_NAME"/>
</title>
<link rel="icon" type="image/x-icon" href="images/server.svg"/>
<link rel="icon" type="image/x-icon" href="images/dec-international-logo.png"/>
<link href="css/themes/Spacelab/bootstrap.min.css?version={$VERSION}" rel="stylesheet" media="screen"/>
<link href="css/bootstrap-icons.min.css?version={$VERSION}" rel="stylesheet" media="screen"/>
+5 -5
View File
@@ -102,7 +102,7 @@
<div class="buttons mt-1 mb-2">
<button type="button" class="btn btn-sm btn-primary me-2 btnCancel">
<i class="bi bi-box-arrow-left me-2"/>Done</button>
<i class="bi bi-box-arrow-left me-2"/>Return to Subscriptions Page</button>
<button type="button" class="btn btn-sm btn-primary me-2 btnSearch">
<i class="bi bi-search me-2"/>Search</button>
<button type="button" class="btn btn-sm btn-primary me-2 btnReset">
@@ -344,7 +344,7 @@
<input type="hidden" name="action" value="print"/>
<input type="hidden" name="report" value="Print_Selected_PermitsByBuilder"/>
<input type="hidden" name="selected_permits" value=""/>
<input type="hidden" name="subscription_serial" value="{{//subscriptions/record/subscription_serial}}"/>
<input type="hidden" name="subscription_serial" value="{//subscriptions/record/subscription_serial}"/>
</form>
@@ -378,13 +378,13 @@
<xsl:value-of select="ytd_permits"/>
<xsl:choose>
<xsl:when test="permits_trend = 'up'">
<i class="bi bi-arrow-up text-success"></i>
<i class="bi bi-arrow-up text-success" data-bs-toggle="tooltip" data-bs-title="{//popovers/record[popover_name = 'builder_arrow_up']/popover_text}" data-bs-html="true" data-bs-custom-class="custom-tooltip"></i>
</xsl:when>
<xsl:when test="permits_trend = 'down'">
<i class="bi bi-arrow-down text-danger"></i>
<i class="bi bi-arrow-down text-danger" data-bs-toggle="tooltip" data-bs-title="{//popovers/record[popover_name = 'builder_arrow_down']/popover_text}" data-bs-html="true" data-bs-custom-class="custom-tooltip"></i>
</xsl:when>
<xsl:otherwise>
<i class="text-warning me-2"> =</i>
<i class="text-warning me-2" data-bs-toggle="tooltip" data-bs-title="{//popovers/record[popover_name = 'builder_equal_sign']/popover_text}" data-bs-html="true" data-bs-custom-class="custom-tooltip"> =</i>
</xsl:otherwise>
</xsl:choose>
</td>
+1 -2
View File
@@ -23,7 +23,6 @@
<link href="css/{$PAGE-NAME}.css" rel="stylesheet" media="screen"/>
<div class="{$PAGE-NAME}">
<div class="card">
@@ -131,7 +130,7 @@
<div class="buttons mt-1 mb-2">
<button type="button" class="btn btn-sm btn-primary me-2 btnCancel">
<i class="bi bi-box-arrow-left me-2"/>Done</button>
<i class="bi bi-box-arrow-left me-2"/>Return to Subscriptions Page</button>
<button type="button" class="btn btn-sm btn-primary me-2 btnSearch">
<i class="bi bi-search me-2"/>Search</button>
<button type="button" class="btn btn-sm btn-primary me-2 btnReset">