0.1.0
This commit is contained in:
@ -4,19 +4,21 @@ use Incoviba\API\Common\Controller\Proyectos\Cuotas;
|
||||
use Incoviba\API\Common\Controller\Proyectos\Cierres;
|
||||
|
||||
$app->group('/proyectos', function ($app) {
|
||||
$app->post('/add[/]', [Proyectos::class, 'add']);
|
||||
$app->group('/cuotas', function($app) {
|
||||
$app->get('/hoy[/]', [Cuotas::class, 'hoy']);
|
||||
$app->get('/mes[/]', [Cuotas::class, 'mes']);
|
||||
$app->get('/pendientes[/]', [Cuotas::class, 'pendientes']);
|
||||
});
|
||||
$app->group('/cierres', function($app) {
|
||||
$app->get('[/]', Cierres::class);
|
||||
});
|
||||
$app->get('[/]', Proyectos::class);
|
||||
$app->post('/add[/]', [Proyectos::class, 'add']);
|
||||
$app->group('/cuotas', function($app) {
|
||||
$app->get('/hoy[/]', [Cuotas::class, 'hoy']);
|
||||
$app->get('/mes[/]', [Cuotas::class, 'mes']);
|
||||
$app->get('/pendientes[/]', [Cuotas::class, 'pendientes']);
|
||||
});
|
||||
$app->group('/cierres', function($app) {
|
||||
$app->get('[/]', Cierres::class);
|
||||
});
|
||||
$app->get('[/]', Proyectos::class);
|
||||
});
|
||||
$app->group('/proyecto/{proyecto_id}', function ($app) {
|
||||
$app->put('/edit[/]', [Proyectos::class, 'edit']);
|
||||
$app->delete('/edit[/]', [Proyectos::class, 'delete']);
|
||||
$app->get('[/]', [Proyectos::class, 'show']);
|
||||
$app->get('/ventas', [Proyectos::class, 'ventas']);
|
||||
$app->get('/precios', [Proyectos::class, 'precios']);
|
||||
$app->put('/edit[/]', [Proyectos::class, 'edit']);
|
||||
$app->delete('/edit[/]', [Proyectos::class, 'delete']);
|
||||
$app->get('[/]', [Proyectos::class, 'show']);
|
||||
});
|
||||
|
Reference in New Issue
Block a user