partecipazioneAttiva()) { $partecipante = $albo->miaPartecipazione(); if (!empty($partecipante)) { $busta = $albo->getBusta($partecipante["codice"], $codice_richiesta, false, true); if (!empty($busta)) { $richiesta = $albo->getRichiesta($codice_richiesta); if (!empty($richiesta)) { if ($partecipante["conferma"] == "S") { if ($richiesta["controllo"] == "N") { $albo->aggiorna(); } else { $albo->revoca(); } } $albo->deleteBusta($busta["codice_richiesta"]); ?> Swal({ title: "", text: "", type: "success", closeOnConfirm: true, }).then(() => { window.location.reload(); })