diff --git a/app/resources/routes/api/ventas.php b/app/resources/routes/api/ventas.php index 026a2a8..cb32bc0 100644 --- a/app/resources/routes/api/ventas.php +++ b/app/resources/routes/api/ventas.php @@ -21,6 +21,7 @@ $app->group('/ventas', function($app) { }); $app->group('/by', function($app) { $app->get('/unidad/{unidad_id}', [Ventas::class, 'unidad']); + $app->post('/unidades[/]', [Ventas::class, 'byUnidades']); }); $app->post('/get[/]', [Ventas::class, 'getMany']); $app->post('[/]', [Ventas::class, 'proyecto']);