Working on gshirt display
This commit is contained in:
parent
1b064fe899
commit
162f079a84
8 changed files with 117 additions and 474 deletions
|
|
@ -579,7 +579,12 @@ class UsersController extends Controller
|
|||
|
||||
$rankingDisplay = Tipp::gshirt_table();
|
||||
$usernames = User::getNames();
|
||||
$roundnames = array_reverse(Round::getNames());
|
||||
$roundnames = array();
|
||||
|
||||
foreach ($rankingDisplay[0] as $user_round) {
|
||||
array_push($roundnames, $user_round['round_name']);
|
||||
}
|
||||
|
||||
return view ('users.gshirt_ranking', compact('rankingDisplay','usernames', 'roundnames'));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue