League Creation
This commit is contained in:
parent
96101cb05d
commit
7c9d5eef1e
11 changed files with 160 additions and 46 deletions
|
|
@ -98,6 +98,7 @@ class UsersController extends Controller
|
|||
$activeUsers = User::getActives();
|
||||
|
||||
$currentSeason=Season::getCurrent();
|
||||
|
||||
$active_user_count = sizeof( $activeUsers );
|
||||
$total_user_count = sizeof( DB::table('payments')->where('season_id',$currentSeason->id)->get() );
|
||||
|
||||
|
|
@ -120,6 +121,8 @@ class UsersController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
return view('users.index', compact('users','active_user_count','total_user_count'));
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue