Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2016-12-05 10:39:08 +00:00
committed by StyleCI Bot
parent e98ee6c635
commit 01869a422a
4 changed files with 14 additions and 10 deletions

View File

@@ -1005,15 +1005,17 @@ class UserController extends Controller
}
/**
* @category function to get user details and show in select field
* @category function to get user details and show in select field
*
* @param null
*
* @return data
*/
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>';
echo "<option value='user_$user->id'>".$user->full_name.'</option>';
}
}
}