Working on manual payouts
This commit is contained in:
parent
d15d10a022
commit
a9efcc8e15
3 changed files with 99 additions and 64 deletions
|
|
@ -49,6 +49,13 @@ class Season extends Model
|
|||
return $seasons[1];
|
||||
}
|
||||
|
||||
public static function get($seasonId) {
|
||||
if ($seasonId==-1) return Season::getCurrent();
|
||||
$season=Season::where('id','=',$seasonId)->first();
|
||||
return $season;
|
||||
}
|
||||
|
||||
|
||||
public static function hasQualifications($seasonId=-1) {
|
||||
return Season::hasLeagueType($seasonId,League::RANK_QUALIFICATION);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue