Delete User, Start of money ranking

This commit is contained in:
Torsten 2017-09-03 09:03:39 +02:00
parent 054a8d6f63
commit 0b97ae656f
13 changed files with 3330 additions and 36 deletions

View file

@ -17,7 +17,7 @@ class Quota extends Model
$quotas = Quota::getQuotas($season_id);
}
$active_user_count = sizeof( DB::table('payments')->where('season_id',$season_id)->whereNotNull('paid_date')->get() );
$active_user_count = sizeof(User::getActives());
$euro_pott = $active_user_count * $quotas["Einsatz"];