Ranking: Changing degree of headings

This commit is contained in:
Torsten 2017-11-30 11:07:27 +01:00
parent faf00dc0cb
commit abf66ea3c9
5 changed files with 74 additions and 31 deletions

View file

@ -14,8 +14,9 @@ class Test extends Model
$users = User::all();
$cnt=0;
foreach ($users as $user) {
Payment::set_payment_date($user->id, $seasonId, '01.01.2017');
$cnt+=1;
if (!$user->deleted)
{ Payment::set_payment_date($user->id, $seasonId, '01.01.2017'); $cnt+=1;}
}
return $cnt." Users in season_id ".$seasonId." set to paid";
}