Accelerar listado ventas

This commit is contained in:
Juan Pablo Vial
2024-03-13 16:17:14 -03:00
parent 98953cce42
commit 8caa80459e
5 changed files with 70 additions and 8 deletions

View File

@ -22,6 +22,7 @@ $app->group('/ventas', function($app) {
$app->group('/by', function($app) {
$app->get('/unidad/{unidad_id}', [Ventas::class, 'unidad']);
});
$app->post('/get[/]', [Ventas::class, 'getMany']);
$app->post('[/]', [Ventas::class, 'proyecto']);
});
$app->group('/venta/{venta_id}', function($app) {