This commit is contained in:
nurmuhammet committed 2025-10-29 00:24:12 +05:00
1 parent 9b43666caf
commit 40d7d39ba6
1 file changed
+4 -6
@@ -31,12 +31,10 @@ public function downloadCardRequisite(Card $record, Component $livewire)
$path = $this->generateFile($record, $response);
info($path);
// return ActionResponse::download(
// name: 'kart-rekwizit.docx',
// url: url($path)
// );
return response()->download(
name: 'kart-rekwizit.docx',
url: url($path)
);
}
/**