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.
 
 
 
 
 

89 righe
2.7 KiB

<?
if (!empty($_SESSION["utente"]->oe)) {
global $config;
global $root;
$richieste = DGUE::staticgetMyDGUE();
if (!empty($richieste)) {
?>
<div class="card">
<div class="card-body">
<table class="table table-striped table-hover" width="100%" id="table-dgue">
<thead>
<tr>
<th><?= __("CIG") ?></th>
<th><?= __("Oggetto") ?></th>
<th width="130"><?= __("Data e ora") ?></th>
<th width="100">XML</th>
<th width="100">PDF</th>
<? if (!empty($action)) { ?><th width="100"><?= __("Usa") ?></th><? } ?>
<th width="100"><?= __("Elimina") ?></th>
</tr>
</thead>
<tbody >
</tbody>
</table>
<script>
var tableDGUE = $("#table-dgue").DataTable({
"processing": true,
"serverSide": true,
"language": {
"url": "/dictionary/datatables/<?= $_SESSION["language"] ?>.lang"
},
"ajax": {
"url": "/dgue/table-list.php",
"data": function (d) {
d.action = '<?= $action ?? "" ?>'
}
},
"order": [[3,"ASC"]],
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, '<?= __("tutti") ?>']],
"columns": [
null,
null,
null,
{ "orderable": false },
{ "orderable": false },
<? if (!empty($action)) { ?>{ "orderable": false },<? } ?>{ "orderable": false }
]
});
</script>
</div>
</div>
<?
} else {
alertManager::printWarningBox(__("Nessun risultato"));
}
?>
<script>
function confirmSubmitRichiesta(status) {
$("#stato-richiesta").val(status);
if (status != "N") {
if (status == "S") {
msg = "<?= __("Procedendo la richiesta sarà immediatamente disponibile per gli Operatori Economici selezionati") ?>";
}
Swal({
title: js_dict["sei-sicuro"],
text: msg,
type: "warning",
showCancelButton: true,
confirmButtonColor: '#3085d6',
cancelButtonColor: '#d33',
confirmButtonText: js_dict.conferma,
cancelButtonText: js_dict.annulla,
closeOnConfirm: true
}).then((result) => {
if (result.value) {
$("#submit-richiesta-form").submit();
}
});
} else {
$("#submit-richiesta-form").submit();
}
}
</script>
<?
}
?>