diff --git a/client_overview.php b/client_overview.php index 9cffdcf5..b7cb769d 100644 --- a/client_overview.php +++ b/client_overview.php @@ -57,6 +57,17 @@ $sql_domains_expiring = mysqli_query( ORDER BY domain_expire DESC" ); +// Get Licenses Expiring +$sql_licenses_expiring = mysqli_query( + $mysqli, + "SELECT * FROM software + WHERE software_client_id = $client_id + AND software_expire IS NOT NULL + AND software_archived_at IS NULL + AND software_expire < CURRENT_DATE + INTERVAL 30 DAY + ORDER BY software_expire DESC" +); + // Get Asset Warranties Expiring $sql_asset_warranties_expiring = mysqli_query( $mysqli, @@ -189,6 +200,7 @@ $sql_asset_retire = mysqli_query( if (mysqli_num_rows($sql_domains_expiring) > 0 || mysqli_num_rows($sql_asset_warranties_expiring) > 0 || mysqli_num_rows($sql_asset_retire) > 0 + || mysqli_num_rows($sql_licenses_expiring) > 0 ) { ?>
@@ -253,6 +265,24 @@ $sql_asset_retire = mysqli_query( } ?> + +

+ + + -- +

+ + +