Significant changes

Added several components and features too long to list here
This commit is contained in:
2020-05-22 03:49:16 +01:00
parent 2ff0da3e4f
commit cc8c293cc6
36 changed files with 6051 additions and 613 deletions

View File

@@ -14,8 +14,13 @@ class Form extends Model
];
public function vacancy()
public function vacancies()
{
return $this->hasMany('App\Vacancy');
return $this->hasMany('vacancies', 'vacancyFormID', 'id');
}
public function responses()
{
return $this->belongsTo('App\Response', 'id', 'id');
}
}