gerarchia < 100 && tokenVerify($_GET["token"]) && !empty($_GET['oe_codice']) && !empty($_SESSION['ente']->codice)) { $oe = oeManager::getOE($_GET["oe_codice"]); $enteInfo = $_SESSION["ente"]->getInfo(); if(!empty($oe)){ $utente = oeManager::getUser($oe["codice"]); if(!empty($utente)){ $cpvs = oeManager::getCpvs($oe["codice"]); if($cpvs === false) $cpvs = []; $cpvs = cpvManager::getInfo($cpvs); $codice_ente = 0; if (isset($_SESSION["ente"])) { $codice_ente = $_SESSION["ente"]->codice; } $forms = oeManager::getStandardForms($oe["tipo"],$codice_ente); $formsObjects = []; if (!empty($forms)) { foreach($forms AS $form) { $form = FormManager::getInfoFromID($form,$codice_ente); if (!empty($form)) { $formManager = new FormManager; $formManager->init($form["codice"],"oe",$oe["codice"]); $validation = $formManager->validateData(); $formsObjects[$form["codice"]] = ["info"=>$form,"manager"=>$formManager,"validation"=>$validation]; unset($formManager); $titolo = json_decode($form["titolo"],true); $titolo = $titolo[$_SESSION["language"]]; } } } if ($oe["tipo"] == "IMP") { $form = FormManager::getInfoFromID("soa",$codice_ente); $status_soa = "fa fa-exclamation-triangle text-danger"; if (!empty($form)) { $soaManager = new FormManager; $soaManager->init($form["codice"],"oe",$oe["codice"]); $validationSoa = $soaManager->validateData(); } } else { $serviziTecnici = oeManager::getServiziTecnici($oe["codice"]); } $error = false; $html = ob_get_clean(); ob_start(); ?> <?= __('export.pdf') ?>
/documenti/enti/" style="width:150px">


$formInfo) {?> printForm(false);?> 0;$i--) { $years[] = (int)date("Y") - $i; } $soaManager->printForm(false); $soa = oeManager::getSOA($oe["codice"]); if(!empty($soa)){ ?>

$categoria) { $elemento = $categorie[$categoria["codice_categoria"]]; $classifica = $classifiche[$categoria["codice_classifica"]]; ?>
-

$fatturati) { $elemento = $categorie[$codice_categoria]; ?>

$servizio) { ?>
%