. */ include_once __DIR__.'/../../core.php'; use Models\Module; use Carbon\Carbon; $id_record = filter('id_record'); $dir = filter('dir'); $nome_stampa = filter('nome_stampa'); $id_print = $dbo->fetchOne('SELECT id FROM zz_prints WHERE name='.prepare($nome_stampa))['id']; $id_module = Module::pool('Stampe contabili')->id; $year = (new Carbon($_SESSION['period_end']))->format('Y'); // Trovo id_print della stampa $link = Prints::getHref($nome_stampa, $id_record); echo '