Facturacion, se agrega PropiedadUnidad
This commit is contained in:
@ -3,5 +3,6 @@ use Incoviba\Controller\API\Money;
|
||||
|
||||
$app->group('/money', function($app) {
|
||||
$app->post('/ipc[/]', [Money::class, 'ipc']);
|
||||
$app->post('/uf[/]', [Money::class, 'uf']);
|
||||
$app->post('[/]', [Money::class, 'get']);
|
||||
});
|
||||
|
10
app/resources/routes/api/ventas/propiedades.php
Normal file
10
app/resources/routes/api/ventas/propiedades.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$app->group('/propiedades', function($app) {
|
||||
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'propiedades']));
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
});
|
6
app/resources/routes/api/ventas/propiedades/unidades.php
Normal file
6
app/resources/routes/api/ventas/propiedades/unidades.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use Incoviba\Controller\API\Ventas\PropiedadesUnidades;
|
||||
|
||||
$app->group('/unidad/{pu_id}', function($app) {
|
||||
$app->post('/edit[/]', [PropiedadesUnidades::class, 'edit']);
|
||||
});
|
Reference in New Issue
Block a user