gest366/modules/storico_xml/edit.php

74 lines
2.3 KiB
PHP
Raw Normal View History

2021-02-24 20:40:04 +00:00
<form action="" method="post" id="add-form">
<input type="hidden" name="op" value="update">
<input type="hidden" name="backto" value="record-edit">
<input type="hidden" name="id_record" value="<?php echo $id_record ?>">
<?php
include_once(__DIR__."/../../core.php");
$pageTitle = "Info";
include ($docroot . "/modules/documenti/modutil.php");
$rw_filtri = $dbo->fetchArray( "select * from co_xml_filtri ");
$id_esito = $rw_filtri[0][id_esito];
$id_invio = $rw_filtri[0][id_invio];
?>
<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
<div class="panel-heading">
<h3 class="panel-title">Invio SDI - XML</h3>
</div>
<div class="panel-body">
<div class="col-md-2">
{[ "type": "select", "label": "Invio", "name": "id_invio", "required": 0, "class": "", "values": "list= \"0\": \"Tutti\",\"1\": \"Da inviare\", \"2\": \"Inviata\"", "value": "<?php echo $id_invio ?>", "extra": "" ]}
</div>
<div class="col-md-2">
{[ "type": "select", "label": "Esito", "name": "id_esito", "required": 0, "class": "", "values": "list= \"0\": \"Tutti\", \"1\": \"Positivo\", \"2\": \"Errata\",\"3\": \"Scartata\",\"4\": \"In attesa\"", "value": "<?php echo $id_esito ?>", "extra": "" ]}
</div>
<button type="submit" class="btn-app btn-success"><i class="fa fa-check"></i> Analizza</button>
</div>
</div>
<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
<div class="panel-body">
<div class="row">
<div class="table-responsive">
<table class="table no-margin">
<thead>
<tr>
<th class='text-left'></th>
<th class='text-left'> Doc</th>
<th class='text-left'>Anagrafica</th>
<th class='text-center'>Utente</th>
<th class='text-center'>Creato il</th>
<th class='text-center'> Progressivo</th>
<th class='text-center'>Stato</th>
<th class='text-center'>Data</th>
<th class='text-center'>Esito</th>
<th class='text-center'>Data</th>
</tr>
</thead>
<tbody>
<?php
all_storico_transazioni_xml($id_record);
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</form>