update detail dokumen jaminan,

This commit is contained in:
Daeng Deni Mardaeni
2024-09-11 10:50:46 +07:00
parent 797cf6bb5b
commit ad4d8cf740
5 changed files with 41 additions and 29 deletions

View File

@@ -174,10 +174,4 @@
{
return Excel::download(new DebitureExport, 'debitur.xlsx');
}
public function download($id)
{
$document = DokumenJaminan::find($id);
return response()->download(storage_path('app/public/' . $document->dokumen_jaminan));
}
}