tambah kolom dan fitur search code log

This commit is contained in:
2025-02-12 09:38:56 +07:00
parent 7e41f543ae
commit b163ba5547
7 changed files with 46 additions and 43 deletions

View File

@@ -18,10 +18,10 @@ class ClaimRequestResource extends JsonResource
$filesGroupByType = $this->files->mapToGroups(function($file) {
return [Str::slug($file->type, '_') => $file];
});
$data = [
'id' => $this->id,
'code' => $this->code,
'code_log' => $this->requestLog->code,
'submission_date' => $this->submission_date,
'member' => $this->member,
'status' => $this->status ?? 'unknown',