Citycom Service Ordering WIP 2025-08-05

This commit is contained in:
Frank Schubert
2025-08-05 09:54:36 +02:00
parent 07f2bad3c4
commit a2555a9e50
4 changed files with 17 additions and 6 deletions
+7 -4
View File
@@ -156,8 +156,11 @@ class Citycom_OanApiHelper {
//continue;
// register new Service with Citycom
$new_service = $this->api->createService($service_data);
/*$new_service = $this->api->createService($service_data);
if(!$new_service) {
$this->log->error(__METHOD__.": Error creating service");
$this->log->error(__METHOD__.": Last Error: ".$this->api->lastError);
return false;
}
@@ -169,9 +172,9 @@ class Citycom_OanApiHelper {
"serial" => $new_service->ont->serial,
"fsan" => $new_service->ont->fsan,
],
];
];*/
/*$service_return[] = [
$service_return[] = [
"sublocation_id" => $sublocation_id,
"service_type" => $ctag_service_type,
"ctag" => $ctag,
@@ -179,7 +182,7 @@ class Citycom_OanApiHelper {
"serial" => "ONT123456",
"fsan" => "FSAN7890",
],
];*/
];
// save ctag
$ctag_data = $preorder_ctag_data;