Working on gshirt display

This commit is contained in:
Torsten 2017-12-18 09:57:09 +01:00
parent 1b064fe899
commit 162f079a84
8 changed files with 117 additions and 474 deletions

View file

@ -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'));
}