mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 10:21:06 +03:30
add dropzone to test result form
This commit is contained in:
@@ -19,6 +19,10 @@ class TestResult extends Model
|
||||
{
|
||||
return $this->hasMany('App\InputValue');
|
||||
}
|
||||
public function images()
|
||||
{
|
||||
return $this->morphMany('App\Media', 'model');
|
||||
}
|
||||
public function TitleImage()
|
||||
{
|
||||
return $this->morphToMany('App\Gallery', 'uploadable')->wherePivot('image_role', 'TitleImage');
|
||||
|
||||
Reference in New Issue
Block a user