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.
32 righe
1.1 KiB
32 righe
1.1 KiB
<? |
|
if (!empty($anac->info)) { |
|
if ($_SESSION["utente"]->permission("simog")) { |
|
if ($anac->info["stato"] < 20) { |
|
$logSimog = $anac->getLastSimogLog("inviaRequisiti"); |
|
if (empty($logSimog)) { |
|
$status = "status-border-warning"; |
|
if (!empty($alertManager)) { $alertManager->addDangerAlert(__("Requisiti non inviati"),$hrefComando); } |
|
} else { |
|
if ($logSimog["esito"] == 1) { |
|
$status = "status-border-success"; |
|
} else { |
|
$status = "status-border-danger"; |
|
if (strpos($logSimog["msg"],"SIMOG_AVCPASS_001") !== false || strpos($logSimog["msg"],"SIMOGWS_GARALOTTOMANAGER_APP_37") !== false) { |
|
$status = "status-border-warning"; |
|
} |
|
if (!empty($alertManager)) { |
|
if ($status == "status-border-danger") { |
|
$alertManager->addDangerAlert($logSimog["msg"],$hrefComando); |
|
} else { |
|
$alertManager->addWarningAlert($logSimog["msg"],$hrefComando); |
|
} |
|
} |
|
} |
|
} |
|
} else { |
|
$status = "status-border-success"; |
|
} |
|
} |
|
} |
|
|
|
?>
|