This commit is contained in:
2021-12-25 23:17:47 -03:00
parent 7e01974ec8
commit d7d671fb51
68 changed files with 2991 additions and 160 deletions

View File

@ -0,0 +1,16 @@
<?php
namespace Incoviba\UI\Common\Controller;
use Psr\Http\Message\ServerRequestInterface as Request;
use Psr\Http\Message\ResponseInterface as Response;
use Slim\Views\Blade as View;
class Base {
public function __invoke(Request $request, Response $response, View $view) {
$hoy = 0;
$pendientes = 0;
$dias = [];
$cierres = [];
return $view->render($response, 'home', compact('hoy', 'pendientes', 'dias', 'cierres'));
}
}