Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
35 righe
1.3 KiB
35 righe
1.3 KiB
<? |
|
if (!empty($anac->info)) { |
|
if ($_SESSION["utente"]->permission("simog")) { |
|
if ($anac->info["smart_cig"] == "N") { |
|
$inserisci = $anac->getLastSimogLog("inserisciGara"); |
|
$modifica = $anac->getLastSimogLog("modificaGara"); |
|
if (!empty($inserisci) && !empty($modifica)) { |
|
$logSimog = ($inserisci["codice"] > $modifica["codice"]) ? $inserisci : $modifica; |
|
} else if (!empty($inserisci)) { |
|
$logSimog = $inserisci; |
|
} else if (!empty($modifica)) { |
|
$logSimog = $modifica; |
|
} |
|
} else { |
|
$logSimog = $anac->getLastSimogLog("comunicaSingola"); |
|
} |
|
if (empty($logSimog)) { |
|
if (($anac->info["smart_cig"] == "S" && empty($anac->lotto["cig"])) || ($anac->info["smart_cig"] == "N" && empty($anac->info["id_gara"]))) { |
|
$status = "status-border-warning"; |
|
if (!empty($alertManager)) { $alertManager->addWarningAlert(__("Gara non trasmessa al SIMOG"),$hrefComando); } |
|
} else { |
|
$status = "status-border-success"; |
|
} |
|
} else { |
|
if ($logSimog["esito"] == 1) { |
|
$status = "status-border-success"; |
|
} else { |
|
$status = "status-border-danger"; |
|
if (!empty($alertManager)) { $alertManager->addDangerAlert($logSimog["msg"],$hrefComando); } |
|
} |
|
} |
|
} |
|
} |
|
|
|
?>
|