Cambio en controller para usar metodo de producto

This commit is contained in:
Alejandro Tasistro 2024-12-09 07:20:28 -03:00
parent f84e1f2954
commit ec10bdca92
1 changed files with 2 additions and 2 deletions

View File

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