Agregar Bono Pie
This commit is contained in:
@ -10,4 +10,11 @@ $app->group('/pie/{pie_id}', function($app) {
|
||||
});
|
||||
$app->get('[/]', [Pies::class, 'cuotas']);
|
||||
});
|
||||
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'pies']));
|
||||
foreach ($files as $file) {
|
||||
if ($file->isDir()) {
|
||||
continue;
|
||||
}
|
||||
include_once $file->getRealPath();
|
||||
}
|
||||
});
|
||||
|
6
app/resources/routes/ventas/pies/bonos.php
Normal file
6
app/resources/routes/ventas/pies/bonos.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
use Incoviba\Controller\Ventas\Bonos;
|
||||
|
||||
$app->group('/bono_pie', function($app) {
|
||||
$app->get('/add[/]', [Bonos::class, 'add']);
|
||||
});
|
Reference in New Issue
Block a user