From ec10bdca92f0e29f2dc8a791f1d07f9f682bfbbb Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 9 Dec 2024 07:20:28 -0300 Subject: [PATCH] Cambio en controller para usar metodo de producto --- app/Http/Controllers/ComprasController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/ComprasController.php b/app/Http/Controllers/ComprasController.php index 93f2ef9..dd2fc6b 100644 --- a/app/Http/Controllers/ComprasController.php +++ b/app/Http/Controllers/ComprasController.php @@ -18,8 +18,8 @@ class ComprasController } public function descargarNotas() { - GrupoDeCompra::exportarProductosConNotasEnCSV(); - $file = resource_path('csv/exports/pedidos-notas.csv'); + Producto::planillaNotas(); + $file = resource_path('csv/exports/notas-por-barrio.csv'); return response()->download($file); }