Merge remote-tracking branch 'origin/staging' into origin/production

This commit is contained in:
Linksehat Staging Server
2024-02-11 07:23:15 +07:00
13 changed files with 654 additions and 56 deletions

View File

@@ -21,6 +21,7 @@ class File extends Model
'path',
'created_by',
'updated_by',
'reason'
];
protected $hidden = [

View File

@@ -220,7 +220,7 @@ class RequestLog extends Model
public function files()
{
return $this->morphMany(File::class, 'fileable');
return $this->morphMany(File::class, 'fileable')->whereNull('deleted_at');
}
public function claimResults()