gestione gare pubbliche
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.
 
 
 
 
 

30 righe
1.0 KiB

<?
if (isset($this) && is_a($this,"anac")) {
$simogMethod = "presaInCarico";
if ($operation == "get") {
$return = [];
$return["method"] = $simogMethod;
$return["data"] = [];
$return["data"]["garaOcig"] = $this->info["id_gara"];
$return["data"]["flagDatiComuni"] = "N";
$dati = $this->getDati();
$return["data"]["estremiProvv"] = $dati["estremiProvv"];
} else if ($operation == "put" && !empty($response)) {
if (!empty($response->return->success)) {
$this->updateSimogLog($simogMethod,1,"");
alertManager::printSuccessBox(__("Operazione effettuata con successo"));
$return = true;
} else if (!empty($response->return->error)) {
$errors = $response->return->error;
} else {
$errors = __("Errore nella risposta");
}
} else {
$errors = __("Operazione sconosciuta");
}
if (!empty($errors)) {
$this->updateSimogLog($simogMethod,2,$errors);
alertManager::printAlertBox($errors);
}
}
?>