#update-patch

# multiple assignment option in inbox
This commit is contained in:
Manish Verma
2016-12-05 14:09:26 +05:30
parent 3802620b1b
commit 77fa3fe326
5 changed files with 158 additions and 52 deletions

View File

@@ -1003,4 +1003,14 @@ class UserController extends Controller
return $message;
}
}
/**
*/
public function getAgentDetails()
{
$users = User::where('role', '<>', 'user')->where('active', '=', 1)->get();
foreach ($users as $user) {
echo "<option value='user_$user->id'>".$user->full_name.'</option>';
}
}
}