erpConnector) && method_exists($_SESSION["ente"]->erpConnector,"getStatusStipula")) { $statusInfo = $_SESSION["ente"]->erpConnector->getStatusStipula($contratto->info["codice"]); $status = "status-border-{$statusInfo["color"]}"; if ($statusInfo["color"] == "danger") { $alertManager->addDangerAlert(__("Invio ERP fallito"),$hrefComando); } else if ($statusInfo["color"] == "warning") { $alertManager->addWarningAlert(__("Invio ERP non eseguito"),$hrefComando); } } ?>