diff --git a/app/Http/Controllers/Goods/GoodsController.php b/app/Http/Controllers/Goods/GoodsController.php index 7300555..d63bdfc 100644 --- a/app/Http/Controllers/Goods/GoodsController.php +++ b/app/Http/Controllers/Goods/GoodsController.php @@ -90,11 +90,11 @@ class GoodsController extends Controller public function download() { - $file = resource_path('templates/goods_skus_import.xlsx'); + $file = resource_path('templates/sale_stock_import.xlsx'); $headers = [ 'Content-Type: application/xlsx', ]; - return response()->download($file, 'goods_skus_import.xlsx', $headers); + return response()->download($file, 'sale_stock_import.xlsx', $headers); } } diff --git a/resources/templates/sale_stock_import.xlsx b/resources/templates/sale_stock_import.xlsx new file mode 100644 index 0000000..0710958 Binary files /dev/null and b/resources/templates/sale_stock_import.xlsx differ