<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
		<div class="clearfix"></div>
			</br>	
			<div class="col-md-4">				
				<div class="pull-left">
				</div>
			</div>
			<div class="col-md-4">				
				<div class="pull-left">
				</div>		
			</div>				
			<div class="col-md-4">
				<div class="pull-left">	
			</div>			
		</div>			
		<div class="clearfix"></div>	
	</div>

				
		
	<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">
		<div class="panel-heading">
			<h3 class="panel-title"><?php echo tr('File Xml Caricato'); ?></h3>
		</div>
		</br>	
		<div class="col-md-4">							
		</div>
		<div class="clearfix"></div>	
		
		<div class="panel-body">										
			<?php
				echo filelist_xml_import( $module_name, $id_record );					
			?>															
		</div>
	</div>
	
	<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">							
		<div class="col-md-8">			
			<div class="panel-heading">
				<h3 class="box-title">Ordine di Acquisto</h3>
			</div>
			<div class="panel-body">											
				<div class="row">
					<div class="table-responsive">
						<table class="table no-margin">
							<thead>
								<tr>					 
								  <th width="10%" class='text-left'>Data</th>
								  <th width="10%" class='text-right'>N°</th>
								  <th width="40%"class='text-left'>Codice Commessa</th>	
								  <th width="15%"class='text-left'>Codice CUP</th>		
								  <th width="15%"class='text-left'>Codice GIC</th>										  
								</tr>
							</thead>
							<tbody>
								<?php 
									lettura_file_xml_ordacq($id_record , $docroot);
								?>
							  </tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
		<div class="col-md-4">			
			<div class="panel-heading">
				<h3 class="box-title">Riferimenti DDt</h3>
			</div>
			<div class="panel-body">											
				<div class="row">
					<div class="table-responsive">
						<table class="table no-margin">
							<thead>
								<tr>			
								  <th width="5%" class='text-left'>N°</th>								
								  <th width="40%" class='text-left'>Data</th>
								  <th width="50%" class='text-right'>N° Documento</th>
								  <th width="5%" class='text-center'>Verifica</th>
								  <th width="5%" class='text-center'>Link</th>								  																		 
								</tr>
							</thead>
							<tbody>
								<?php 
								
									lettura_file_xml_ddt($id_record,$docroot , $records[0]['idanagrafica']);
								?>
							  </tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	
	<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">							
		<div class="col-md-8">			
			<div class="panel-heading">
				<h3 class="box-title">Pagamenti riscontrati</h3>
			</div>
			<div class="panel-body">											
				<div class="row">
					<div class="table-responsive">
						<table class="table no-margin">
							<thead>
								<tr>					 
								  <th class='text-center'>Data</th>
								  <th class='text-center'>Importo</th>
								  <th class='text-center'>Banca</th>	
								  <th class='text-center'>Iban</th>							  
								</tr>
							</thead>
							<tbody>
								<?php 
									$pagamento_compatibile = lettura_file_xml_pagamenti($id_record,$docroot);
								?>
							  </tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
		<div class="col-md-4">			
			<div class="panel-heading">
				<h3 class="box-title">Pagamenti associabili ( <?php echo $pagamento_compatibile ?> )</h3>
			</div>	
			<div class="panel-body">											
				<div class="row">
					<div class="col-md-12">
							{[ "type": "select", "label": "Compatibilita pagamenti", "name": "idpagamento_xml", "required": 0, "class": "", "values": "query=SELECT id, descrizione FROM co_pagamenti where codice_modalita_pagamento_fe='<?php echo $pagamento_compatibile ?>' GROUP BY descrizione ORDER BY descrizione ASC", "value": "$idpagamento_xml$", "extra": "" ]}
						</div>
				</div>
			</div>
		</div>
	</div>	
	
	
	<div class="clearfix"></div>	
	
	<div class="panel panel-<?php echo $_SESSION['profilo_pannello'] ?>">										
		<div class="panel-heading">
			<h3 class="panel-title"><?php echo _("Righe") ?></h3>
		</div>
		<div class="panel-body">											
			<div class="row">
				<div class="table-responsive">
					<table class="table no-margin">
						<thead>
							<tr>					 
								<th width="20%" class='text-left'>Articolo</th>
								<th width="5%" class='text-right'>Qta</th>
								<th width="5%" class='text-right'>Prezzo Un.</th>	
								<th width="5%" class='text-right'>Iva</th>
								<th width="5%" class='text-center'>Sconto Un.</th>
								<th width="10%" class='text-center'>Riferimento Amministrativo</th>
								<th width="5%" class='text-center'>Tipo Dato</th>
								<th width="5%" class='text-center'>Riferimento Testo</th> 
							</tr>
						</thead>
						<tbody>
							<?php 
								lettura_file_xml_righe($id_record,$docroot);
							?>
						  </tbody>
					</table>
				</div>
			</div>
		</div>
	</div>