Reservation to Venta add form

This commit is contained in:
Juan Pablo Vial
2025-11-25 17:59:21 -03:00
parent 5f348e954e
commit 9ed918ee03
3 changed files with 191 additions and 30 deletions

View File

@ -10,6 +10,7 @@ $app->group('/ventas', function($app) {
include_once $file->getRealPath();
}
$app->get('/add[/]', [Ventas::class, 'add']);
$app->post('/add[/]', [Ventas::class, 'add']);
$app->get('[/]', Ventas::class);
})->add($app->getContainer()->get(Incoviba\Middleware\Authentication::class));
$app->group('/venta/{proyecto_nombre:[A-za-zÑñ\+\ %0-9]+}/{unidad_descripcion:[0-9]+}', function($app) {