WIP: Road to 1.0.0 #1
|
@ -39,9 +39,11 @@ class Options
|
||||||
}
|
}
|
||||||
Cache::put($option, $value);
|
Cache::put($option, $value);
|
||||||
Cache::put($option.'_desc', 'Undefined description');
|
Cache::put($option.'_desc', 'Undefined description');
|
||||||
|
|
||||||
|
return $value->option_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $value->option_value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setOption(string $option, string $value, string $description)
|
public function setOption(string $option, string $value, string $description)
|
||||||
|
|
|
@ -37,6 +37,8 @@ class Team extends TeamworkTeam
|
||||||
return $this->belongsToMany('App\Vacancy', 'team_has_vacancy');
|
return $this->belongsToMany('App\Vacancy', 'team_has_vacancy');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public function files()
|
public function files()
|
||||||
{
|
{
|
||||||
return $this->hasMany('App\TeamFile', 'team_id');
|
return $this->hasMany('App\TeamFile', 'team_id');
|
||||||
|
|
|
@ -348,7 +348,7 @@
|
||||||
|
|
||||||
<div class="col text-center">
|
<div class="col text-center">
|
||||||
|
|
||||||
<button type="button" class="btn btn-primary" onclick="window.location.href='{{route('staffPendingApps')}}'">{{__('messages.view_app.view_more')}}</button>
|
<button type="button" class="btn btn-primary" onclick="window.location.href='{{route('allApplications')}}'">{{__('messages.view_app.view_more')}}</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue