fix: change path download template and add template pariwisata

This commit is contained in:
2025-02-20 10:36:56 +07:00
parent f10bc153b4
commit dcd93d66e2
6 changed files with 20 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ class UmkmController extends Controller
public function downloadExcelUmkm()
{
$filePath = storage_path('app/public/templates/template_umkm.xlsx');
$filePath = public_path('templates/template_umkm.xlsx');
// Cek apakah file ada
if (!file_exists($filePath)) {