This commit is contained in:
2021-08-18 19:03:58 -04:00
parent b58cda3e4e
commit 4f7241e146
12 changed files with 143 additions and 25 deletions

View File

@ -10,6 +10,7 @@ $app->group('/facturas', function($app) {
});
$app->group('/factura/{id_factura}', function($app) {
$app->group('/ventas', function($app) {
$app->post('/add[/]', [Facturas::class, 'add_venta']);
$app->get('[/]', [Facturas::class, 'ventas']);
});
});

View File

@ -8,5 +8,8 @@ $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']);
});