From 5a91eb53a2306c70b0bfec13b993e1a212ec0032 Mon Sep 17 00:00:00 2001 From: James Richie Date: Tue, 7 Jul 2026 09:53:25 -0400 Subject: [PATCH 1/3] Altered settings for Development server. --- xml/settings.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/settings.xml b/xml/settings.xml index 17f5ef4..93314a6 100644 --- a/xml/settings.xml +++ b/xml/settings.xml @@ -17,16 +17,16 @@ - - localhost + 192.168.1.190 + decweb decuser hype23dec - - localhost + 192.168.1.190 + realestatedatainc ddruser hype23decdr @@ -48,8 +48,8 @@ - - Production + Development + Available On -- 2.52.0 From 3f000d95ea8fc87534b02827ccd1ab754e0020ec Mon Sep 17 00:00:00 2001 From: James Richie Date: Wed, 15 Jul 2026 20:49:03 -0400 Subject: [PATCH 2/3] Added Notify Admin webhook for XML Instantiation failure --- classes/DecWeb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/DecWeb.php b/classes/DecWeb.php index 41974db..fad64d2 100644 --- a/classes/DecWeb.php +++ b/classes/DecWeb.php @@ -45,6 +45,7 @@ class DecWeb { if ($this->settings->count() === 0) { + $this->sendWebHookAlert("Notifying Admin...", "DecWebSync : Unable to initialize settings"); error_log("DecWebSync : Unable to initialize settings"); exit(); } @@ -1089,7 +1090,6 @@ class DecWeb { $this->log("Migrating Purchased Services from decweb"); -// $this->realestatedatainc_connection->exec("TRUNCATE TABLE usersubscriptions"); $this->realestatedatainc_connection->exec("delete from usersubscriptions where usersubscription_user != 1"); $purchasedservices = $this->getPurchasedServices(); -- 2.52.0 From beb540d11a381a8901cfd25d540e1515cfea526b Mon Sep 17 00:00:00 2001 From: James Richie Date: Sun, 26 Jul 2026 15:44:09 -0400 Subject: [PATCH 3/3] Modified class to include Business Facts Premium Advanced --- classes/DecWeb.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/DecWeb.php b/classes/DecWeb.php index fad64d2..238d4c9 100644 --- a/classes/DecWeb.php +++ b/classes/DecWeb.php @@ -1143,6 +1143,9 @@ class DecWeb { 'Advanced' => 7, 'Basic' => 11, ], + 'BusinessFactsPremium' => [ + 'Advanced' => 10, + ], ]; $subscription_serial = $subscription_map[$legacy_subscription_name][$legacy_service_level] ?? null; -- 2.52.0