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() {
|
public function descargarNotas() {
|
||||||
GrupoDeCompra::exportarProductosConNotasEnCSV();
|
Producto::planillaNotas();
|
||||||
$file = resource_path('csv/exports/pedidos-notas.csv');
|
$file = resource_path('csv/exports/notas-por-barrio.csv');
|
||||||
return response()->download($file);
|
return response()->download($file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue