Corrected total number of player count
This commit is contained in:
parent
157b9d8b5e
commit
0cd764cc0e
1 changed files with 2 additions and 1 deletions
|
|
@ -122,9 +122,10 @@ class UsersController extends Controller
|
||||||
if (!$currentSeason) { return redirect('/'); }
|
if (!$currentSeason) { return redirect('/'); }
|
||||||
|
|
||||||
$active_user_count = sizeof( $activeUsers );
|
$active_user_count = sizeof( $activeUsers );
|
||||||
$total_user_count = sizeof( DB::table('payments')->where('season_id',$currentSeason->id)->get() );
|
//$total_user_count = sizeof( DB::table('payments')->where('season_id',$currentSeason->id)->get() );
|
||||||
|
|
||||||
$users = DB::table('users')->where('deleted',null)->orderBy('lastname')->get();
|
$users = DB::table('users')->where('deleted',null)->orderBy('lastname')->get();
|
||||||
|
$total_user_count = sizeof($users);
|
||||||
|
|
||||||
Log::info($b->getEndMessage());
|
Log::info($b->getEndMessage());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue