API
This commit is contained in:
12
api/resources/routes/01_ventas.php
Normal file
12
api/resources/routes/01_ventas.php
Normal 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']);
|
||||
});
|
Reference in New Issue
Block a user