updates
This commit is contained in:
parent
81143a0fa6
commit
251e502499
2 changed files with 8 additions and 3 deletions
|
|
@ -105,9 +105,12 @@ class UsersController extends Controller
|
|||
|
||||
|
||||
public function index() {
|
||||
error_log("Starting Controller: UsersController.index");
|
||||
|
||||
|
||||
$a=new TimeLogger("UserController::index()");
|
||||
Log::info($a->getStartMessage());
|
||||
//error_log($a->getStartMessage());
|
||||
error_log($a->getStartMessage());
|
||||
|
||||
if (Auth::guest()) { return redirect("/"); }
|
||||
if (!Auth::user()->admin) { return redirect("/"); }
|
||||
|
|
@ -187,7 +190,9 @@ class UsersController extends Controller
|
|||
if ($round) { $firstTippableRound = $round; }
|
||||
|
||||
Log::info($a->getEndMessage());
|
||||
//error_log($a->getEndMessage());
|
||||
error_log($a->getEndMessage());
|
||||
|
||||
error_log($users);
|
||||
|
||||
return view('users.index', compact('users','active_user_count','total_user_count', 'firstTippableRound'));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<!-- <div class="container"> -->
|
||||
<div class="lead col-md-8" >registrierte Spieler: {{ $total_user_count }} , davon bezahlt: {{$active_user_count}}</div>
|
||||
|
||||
<p> <a href="/users/payout_with_iban">Kontoliste</a></p>
|
||||
<p> <a href="/users/payout_with_iban">Kontoliste</a></p>index.blade.php
|
||||
|
||||
<div class="col-md-12">
|
||||
<table class="table-bordered" >
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue