$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (!empty($_SESSION["utente"]->oe)) { $manager = new publicRichiesteOE($_GET["modulo"],$_GET["codice_elemento"],$_GET["sub"]); if (!empty($_GET["codice"])) { $tmp = $manager->getRichieste("S",["codice"=>$_GET["codice"]]); if (!empty($tmp)) { $richiesta = $tmp[0]; $relazione = $manager->getOE($richiesta["codice"],$_SESSION["utente"]->oe["codice"])[0] ?? false; if (!empty($relazione)) { $dettagliTipologiaRichiesta = publicRichiesteOE::ModuliAbilitati()[$richiesta["modulo"]]; $error = false; ?>
$label = " " . __("invia"); if (!empty($relazione["timestamp_trasmissione"])) { $label = " " . __("Sostituisci"); ?>