Merge branch 'fronkdev' into 'master'

Fixed saving workorder assigned team

See merge request fronk/thetool!301
This commit is contained in:
Frank Schubert
2024-03-21 18:36:38 +00:00

View File

@@ -122,10 +122,10 @@ foreach($netowners as $apiOwner) {
$addressErrors = [];
if($cluster_rimo_id != "SDIRolloutRegion_411273870081_1710940292") {
/*if($cluster_rimo_id != "SDIRolloutRegion_411273870081_1710940292") {
// preding
continue;
}
}*/
/*
* get Cluster Outline Coords
@@ -449,6 +449,8 @@ foreach($netowners as $apiOwner) {
if($wo && $workorder_status != $wo->rimo_status) {
//echo "Updating Workorder $rimo_workorder_id ($workorder_home_id)\n";
$wo->rimo_status = $workorder_status;
if($team_id) $wo->rimo_team_id = $team_id;
if($team_name) $wo->rimo_team_name = $team_name;
$wo->save();
}