Fixed saving workorder assigned team
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user