Skip to content

Instantly share code, notes, and snippets.

@ryanda
Created December 30, 2025 06:08
Show Gist options
  • Select an option

  • Save ryanda/18d618d4353a213714103aa2c7fccad1 to your computer and use it in GitHub Desktop.

Select an option

Save ryanda/18d618d4353a213714103aa2c7fccad1 to your computer and use it in GitHub Desktop.
$docsContract = DetailContractDoc::where('contract_id', $r->id)->get();
foreach ($docsContract as $d1) {
$documents[] = [
'uuid' => $d1->uuid,
'file_name' => $d1->file_name,
'path' => $d1->path,
'type_process' => '',
'tipe_kemajuan' => '',
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment