This commit is contained in:
2021-08-16 22:13:08 -04:00
parent 740de41139
commit 49374254e4
24 changed files with 466 additions and 58 deletions

View File

@ -0,0 +1,12 @@
<?php
use Incoviba\Common\Controller\Ventas;
$app->group('/ventas', function($app) {
$app->get('[/]', Ventas::class);
});
$app->group('/venta/{id_venta}', function($app) {
$app->group('/operador', function($app) {
$app->get('[/]', [Ventas::class, 'operador']);
});
$app->get('[/]', [Ventas::class, 'show']);
});