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.
115 righe
5.1 KiB
115 righe
5.1 KiB
<!doctype html> |
|
<? |
|
include '../../lib/api.php'; |
|
define('WS_MODULE', 'domanda'); |
|
define('THIS_PERMISSION', GRUPPO_ISTANZE); |
|
define('THIS_PERMISSION2', GRUPPO_REGIONE); |
|
include_once (ROOT . "layout/include_permission.php"); |
|
$action = 'listDomande'; |
|
$stDomande = (intval($_REQUEST['std']) > INPREPARAZIONE ? intval($_REQUEST['std']) : PREPARATA ); |
|
$sfr = (intval($_REQUEST['sfr']) > 0 ? '1' : '0'); |
|
if($sfr>0){ |
|
$intestazione = " CON PROCEDURA DI SFRATTO ESECUTIVO"; |
|
}else{ |
|
$intestazione = " "; |
|
} |
|
|
|
$domDataTable = 'lBrftip'; |
|
|
|
//Utils::print_array($regric);exit(); |
|
?> |
|
<html lang="en"> |
|
<? include_once ROOT . 'layout/head.php'; ?> |
|
<body> |
|
<? include_once ROOT . 'layout/header.php'; ?> |
|
<main role="main" class="<?= $cssColumNavBar ?>" > |
|
<div class="container"> |
|
<? include_once ROOT . 'layout/menu.php'; ?> |
|
|
|
<div class="row"> |
|
<div class="col-sm-12"> |
|
<nav aria-label="breadcrumb"> |
|
<ol class="breadcrumb"> |
|
<li class="breadcrumb-item"><a href="#">Home</a></li> |
|
<li class="breadcrumb-item active" aria-current="page">ELENCO ISTANZE</li> |
|
</ol> |
|
</nav> |
|
</div> |
|
</div> |
|
<div class="row"> |
|
<div class="col-sm-12"> |
|
<h4 class="card-title">ELENCO ISTANZE</span></h4> |
|
<small class="text-info">Il campo cerca filtra l'elenco delle istanze per il Codice Fiscale, il Cognome ed il Nome del richiedente.</small> |
|
<table id="lista_Logs" class="table table-striped table-bordered" style="width:100%"> |
|
<thead> |
|
<!--tr> |
|
<th colspan="4"> </th> |
|
<th colspan="2"> |
|
<div class="input-group mb-2 mr-sm-2"> |
|
<div class="input-group-prepend"> |
|
<div class="input-group-text bg-success text-white">Totale contributi con sfratto</div> |
|
</div> |
|
<input disabled class="form-control" type="text" id="i_TotContributiSfratto" name="i_TotContributiSfratto" value=""> |
|
</div> |
|
</th> |
|
<th colspan="2"> |
|
<div class="input-group mb-2 mr-sm-2"> |
|
<div class="input-group-prepend"> |
|
<div class="input-group-text bg-success text-white">Totale contributi</div> |
|
</div> |
|
<input disabled class="form-control" type="text" id="i_TotContributi" name="i_TotContributi" value=""> |
|
</div> |
|
</th> |
|
</tr--> |
|
<tr> |
|
<th>ID</th> |
|
<th>Codice fiscale</th> |
|
<th>Cognome</th> |
|
<th>Nome</th> |
|
<th>Gestione</th> |
|
</tr> |
|
</thead> |
|
</table> |
|
</div> |
|
</div> |
|
</div> |
|
<? include_once ROOT . 'layout/footer.php'; ?> |
|
</main> |
|
|
|
|
|
<script type="text/javascript"> |
|
$(document).ready(function () { |
|
$('.modal').modal(); |
|
$('#lista_Logs').DataTable({ |
|
'processing': true, |
|
'serverSide': true, |
|
'serverMethod': 'post', |
|
"order": [[2, 'desc']], |
|
dom: '<?= $domDataTable ?>', |
|
'ajax': { |
|
'url': WS_CALL + '?module=<?= WS_MODULE ?>&action=<?= $action ?>&std=<?= $stDomande ?>&sfr=<?= $sfr ?>' |
|
}, |
|
'columns': [ |
|
{data: 'ID', orderable: false}, |
|
{data: 'CODICE_FISCALE', orderable: false}, |
|
{data: 'COGNOME', orderable: false}, |
|
{data: 'NOME', orderable: false}, |
|
{data: 'gestione', orderable: false} |
|
], |
|
'initComplete': function (settings, json) { |
|
//setTotaleContributo(json); |
|
} |
|
|
|
}); |
|
}); |
|
|
|
function setTotaleContributo(json) { |
|
|
|
$("#i_TotContributi").val(json.iTotalContributo); |
|
$("#i_TotContributiSfratto").val(json.iTotalContributoSfratto); |
|
} |
|
|
|
</script> |
|
|
|
</body> |
|
</html>
|
|
|