modified assests

This commit is contained in:
2026-06-15 11:25:16 +07:00
parent 3f115866d9
commit e96d58dcb4
1218 changed files with 1162 additions and 339502 deletions

View File

@@ -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');
}
}