connect status
This commit is contained in:
@@ -238,6 +238,11 @@ class ResultFormatter extends Model
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case WRENCHBOARD_FAMILY_RELLIST:
|
case WRENCHBOARD_FAMILY_RELLIST:
|
||||||
|
$connStatus["0"] = "Pending";
|
||||||
|
$connStatus["5"] = "Connected";
|
||||||
|
$connStatus["7"] = "Removed";
|
||||||
|
|
||||||
|
|
||||||
$total = $out["total_record"];
|
$total = $out["total_record"];
|
||||||
$res = array(
|
$res = array(
|
||||||
"status" => $out["status"],
|
"status" => $out["status"],
|
||||||
@@ -252,7 +257,8 @@ class ResultFormatter extends Model
|
|||||||
"lastname" => $out["lastname_${key}"],
|
"lastname" => $out["lastname_${key}"],
|
||||||
"email" => $out["email_${key}"],
|
"email" => $out["email_${key}"],
|
||||||
"family_type" => $out["family_type_${key}"],
|
"family_type" => $out["family_type_${key}"],
|
||||||
"status" => $out["status_${key}"],
|
"status" => $connStatus[ $out["status_${key}"] ],
|
||||||
|
"kid_count" => 0,
|
||||||
"firstname" => $out["firstname_${key}"],
|
"firstname" => $out["firstname_${key}"],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user