Files
operadores/api/resources/routes/01_ventas.php
2021-08-18 19:03:58 -04:00

16 lines
426 B
PHP

<?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->group('/facturas', function($app) {
$app->get('[/]', [Ventas::class, 'facturas']);
});
$app->get('[/]', [Ventas::class, 'show']);
});