forked from nathalie/pedi2
Cambio en controller para usar metodo de producto
This commit is contained in:
parent
f84e1f2954
commit
ec10bdca92
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue