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); }