permission($cmd_info["modulo_riferimento"]) && $_SESSION["utente"]->permission($radice,$_POST["codice"],$id_modulo)) { $error = false; $elenco = AlboFornitori::init($_POST["codice"]); if (!empty($elenco)) { if ($elenco->respingi($_POST["codice_partecipante"],$_POST["motivazione"])) { $istanza = $elenco->getPartecipante($_POST["codice_partecipante"]); $error = false; $chooseCumulativo = false; if (settingsManager::getValue("esitoCumulativoAlbi") == "S") { $altreIstanze = $elenco->getIstanzeAffini($_POST["codice_operatore"]); if (!empty($altreIstanze)) { $chooseCumulativo = true; } } if ($chooseCumulativo) { ?> swal({ title: js_dict["success-msg"], text: "", type: "warning", showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: "", cancelButtonText: "", closeOnConfirm: true }).then((result) => { if (result.value) { showModalWithURL('cumulativa.php?codice=info["codice"] ?>&codice_partecipante=&codice_operatore=&operazione=respingi'); } else { window.location.reload() } }); swal({title:js_dict["success-msg"],type:"success"}).then(function(){ window.location.reload() }); swal({title:"",type:"error"}); swal({title:"",type:"error"});