diff --git a/app/Helpers/Options.php b/app/Helpers/Options.php index 925d910..527eac9 100755 --- a/app/Helpers/Options.php +++ b/app/Helpers/Options.php @@ -39,9 +39,11 @@ class Options } Cache::put($option, $value); 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) diff --git a/app/Team.php b/app/Team.php index 77c372b..7705421 100755 --- a/app/Team.php +++ b/app/Team.php @@ -37,6 +37,8 @@ class Team extends TeamworkTeam return $this->belongsToMany('App\Vacancy', 'team_has_vacancy'); } + + public function files() { return $this->hasMany('App\TeamFile', 'team_id'); diff --git a/resources/views/dashboard/user/viewapp.blade.php b/resources/views/dashboard/user/viewapp.blade.php index 3054c36..5ec4335 100755 --- a/resources/views/dashboard/user/viewapp.blade.php +++ b/resources/views/dashboard/user/viewapp.blade.php @@ -348,7 +348,7 @@
- +