$content = false; $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (isset($_SESSION["utente"]) && $_SESSION["utente"]->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(); ?>
= $enteInfo["denominazione"] ?>= $enteInfo["indirizzo"] . " - " . $enteInfo["citta"] . " (" . $enteInfo["provincia"] . ")" ?>= __("Esportazione OOEE al") ?> = date("d/m/Y") ?> |
| = __('Dati Generali:') ?> | ||
|---|---|---|
| = __("Denominazione:") ?> = $oe["ragione_sociale"] ?> | ||
| = __('Stato:') ?> = $oe["stato_legale"] ?> | = __('Codice Fiscale Impresa:') ?> = $oe["codice_fiscale_impresa"] ?> | = __('Partita IVA:') ?> = $oe["partita_iva"] ?> |
| = __('Indirizzo PEC:') ?> = $oe["pec"] ?> | ||
| = __('Indirizzo E-mail:') ?> = $utente['email'] ?> | ||
| = __('Anagrafica:') ?> | ||
|---|---|---|
| = __('Cognome:') ?> = $utente["cognome"] ?> | = __('Nome:') ?> = $utente["nome"] ?> | |
| = __("Codice Fiscale:") ?> = $utente["cf"] ?> | ||
| = __('Residenza:') ?> | ||
|---|---|---|
| = __("Indirizzo:") ?> = $utente["indirizzo"] ?> | ||
| = __('Città :') ?> = $utente["citta"] ?> | = __('Provincia:') ?> = $utente["provincia"] ?> | = __('C.A.P:') ?> = $utente["cap"] ?> |
| = __('Telefono:') ?> = $utente["telefono"] ?> | ||
| = __('Cellulare:') ?> = $utente['cellulare'] ?> | ||
| = __('Categorie CPV:') ?> | ||
| = $cpv["codice"] ?> | = $cpv["IT"] ?> | |
| = __("Categoria") ?> | = __("Classifica") ?> |
|---|---|
| = $elemento["id"] ?> - = $elemento["descrizione"] ?> | = $classifica["id"] ?> = $classifica["descrizione"] ?> |
| = __("Categoria") ?> | = __("Importo del servizio/lavoro") ?> | = __("Percentuale di partecipazione") ?> |
|---|---|---|
| $elemento = $categorieST[$categoriaServizio["codice_categoria"]]; echo $elemento["id"] . " - " . $elemento["descrizione"]; ?> | = number_format($categoriaServizio["importo"],2,",",".") ?> | = $categoriaServizio["percentuale"] ?>% |