wip
This commit is contained in:
@@ -31,10 +31,7 @@ class CardRequisiteRepository
|
||||
|
||||
$path = $this->generateFile($record, $response);
|
||||
|
||||
return response()->download(
|
||||
name: 'kart-rekwizit.docx',
|
||||
url: url($path)
|
||||
);
|
||||
return response()->download(public_path($path));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,6 +93,6 @@ class CardRequisiteRepository
|
||||
|
||||
$templateProcessor->saveAs($filePath);
|
||||
|
||||
return "files/card-requisite/{$unique_folder_name}/{$model->id}.docx";
|
||||
return "files/card-requisite/{$unique_folder_name}/kart-rekwizit-{$model->id}.docx";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user