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,15 @@
<?php
use Incoviba\Common\Controller\Facturas;
$app->group('/facturas', function($app) {
$app->group('/add', function($app) {
$app->post('[/]', [Facturas::class, 'add']);
});
$app->post('[/]', [Facturas::class, 'proyecto_operador']);
$app->get('[/]', Facturas::class);
});
$app->group('/factura/{id_factura}', function($app) {
$app->group('/ventas', function($app) {
$app->get('[/]', [Facturas::class, 'ventas']);
});
});