From fc776e6cec21b746de3378cdeb760efe97a63a87 Mon Sep 17 00:00:00 2001 From: Juan Pablo Vial Date: Mon, 21 Apr 2025 19:43:20 -0400 Subject: [PATCH] Ruta para Ventas por unidades --- app/resources/routes/api/ventas.php | 1 + 1 file changed, 1 insertion(+) 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']);