This commit is contained in:
2021-12-06 22:10:41 -03:00
parent 10b2485cfd
commit 8ef4ab1c7d
41 changed files with 1256 additions and 57 deletions

View File

@ -0,0 +1,12 @@
<?php
use Contabilidad\Common\Controller\TiposCuentas;
$app->group('/cuentas', function($app) {
$app->post('/add[/]', [TiposCuentas::class, 'add']);
$app->get('[/]', TiposCuentas::class);
});
$app->group('/cuenta/{tipo_id}', function($app) {
$app->put('/edit', [TiposCuentas::class, 'edit']);
$app->delete('/delete', [TiposCuentas::class, 'delete']);
$app->get('[/]', [TiposCuentas::class, 'show']);
});