info["cup"])) { $schede = mop::tipologiaSchede(); if (!empty($schede)) { $monitor = $progetto->getManagerMonitoraggio(); foreach($schede AS $tipo => $info) { if (empty($info["auto"])) { $schedeDb = $monitor->getScheda($tipo); $status = []; $hrefScheda = $hrefComando . "&tipo={$tipo}"; foreach($schedeDb AS $scheda) { if (!empty($scheda)) { if ($scheda["stato"] == 100) { $status[] = "status-border-success"; } else if ($scheda["stato"] == 90) { $status[] = "status-border-danger"; } else { $status[] = "status-border-warning"; } } } if (empty($status)) { $status = "status-border-default"; } else { $status = array_unique($status); if (count($status) > 1) { $status = "status-border-warning"; } else { $status = $status[0]; } if ($status=="status-border-danger") { $alertManager->addDangerAlert(__($info["titolo"]) . " - " . __("Errori d'invio"),$hrefScheda); } } ?> " href="" title="">