wip
This commit is contained in:
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)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user