Mostrar alertas en inicio

This commit is contained in:
2023-10-19 18:20:37 -03:00
parent c2a3192b32
commit 02e1f3e091
25 changed files with 915 additions and 225 deletions

View File

@ -1,5 +1,5 @@
<?php
use Incoviba\Controller\Ventas;
use Incoviba\Controller\API\Ventas;
$app->group('/ventas', function($app) {
$folder = implode(DIRECTORY_SEPARATOR, [__DIR__, 'ventas']);
@ -12,6 +12,13 @@ $app->group('/ventas', function($app) {
include_once $file->getRealPath();
}
}
$app->post('/add[/]', [Ventas::class, 'add']);
$app->group('/estados', function($app) {
$app->post('/firmar[/]', [Ventas::class, 'porFirmar']);
});
$app->group('/escrituras', function($app) {
$app->post('/estados[/]', [Ventas::class, 'escrituras']);
});
$app->post('[/]', [Ventas::class, 'proyecto']);
});
$app->group('/venta/{venta_id}', function($app) {