Added banking edit to players edit form

This commit is contained in:
Torsten 2017-12-21 08:36:05 +01:00
parent 29cc34590d
commit b41a8f4051
5 changed files with 47 additions and 3 deletions

View file

@ -99,12 +99,13 @@ class Quota extends Model
$quota->save();
}
/*
public static function getQuota($quota_name) {
$season_id=Season::getCurrent()->id;
$quota=Quota::all()->where('season_id','=', $season_id)->where('name','=', $quota_name)->first();
return $quota['prc'];
}
*/
public static function getQuotas() {
$season_id = Season::getCurrent()->id;
$quotas=Quota::all()->where('season_id','=', $season_id);