Ventas->Listado->Ventas

This commit is contained in:
Juan Pablo Vial
2023-07-28 16:22:20 -04:00
parent 38383f5295
commit ef30ae67d2
52 changed files with 1496 additions and 17 deletions

View File

@ -1,4 +1,6 @@
<?php
use Incoviba\Controller\Ventas;
$app->group('/ventas', function($app) {
$files = new FilesystemIterator(implode(DIRECTORY_SEPARATOR, [__DIR__, 'ventas']));
foreach ($files as $file) {
@ -7,4 +9,5 @@ $app->group('/ventas', function($app) {
}
include_once $file->getRealPath();
}
$app->get('[/]', Ventas::class);
});