modified assests
This commit is contained in:
@@ -12,7 +12,7 @@ class Physician extends BaseModel
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $fillable = ['name_en', 'name_kh','phone','logo','footer','lab_id','is_default'];
|
||||
protected $fillable = ['name_en', 'name_kh','phone','logo','footer','organization_id','is_default'];
|
||||
|
||||
protected $hidden = ['created_at', 'created_by', 'updated_at', 'updated_by','record_status_id'];
|
||||
|
||||
@@ -22,7 +22,7 @@ class Physician extends BaseModel
|
||||
}
|
||||
|
||||
public function lab(){
|
||||
return $this->belongsTo('App\Models\Laboratory', 'lab_id','id');
|
||||
return $this->belongsTo('App\Models\Organization', 'organization_id','id');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user