wip
This commit is contained in:
@@ -31,10 +31,7 @@ class CardRequisiteRepository
|
|||||||
|
|
||||||
$path = $this->generateFile($record, $response);
|
$path = $this->generateFile($record, $response);
|
||||||
|
|
||||||
return response()->download(
|
return response()->download(public_path($path));
|
||||||
name: 'kart-rekwizit.docx',
|
|
||||||
url: url($path)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -96,6 +93,6 @@ class CardRequisiteRepository
|
|||||||
|
|
||||||
$templateProcessor->saveAs($filePath);
|
$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