<%@include file="/WEB-INF/includeTemplate.inc"%>

<!-- Formulario de detalle -->
<div id="pagos_detail_div" style="display: none" class="custom_mid_dialog">
	
	<!-- Feedback del detalle de los pagos -->
	<div id="pagos_detail_feedback"></div>
	
	<!-- Formulario -->
	<spring:url value="../pagos/recalcular" var="urlPagos"/>
	<form:form modelAttribute="pagosBeneficiario" id="pagos_detail_form" action="${urlPagos}">
	
		<input type="hidden" id="detallePagos_mesPago" name="pagos.mesPago74">
		<input type="hidden" id="detallePagos_anyoPago" name="pagos.anyoPago74">
		<input type="hidden" id="detallePagos_idPago" name="pagos.idPago74">	
		<div class="clsCabecera plegable"><i class="mdi mdi-plus-box-outline"></i><spring:message code="pagos.tarifasDiarias"/></div>
		<div class="plegado" id="plegable_tarifaDiaria">
	
			<div class="form-row row">
				<div class="col col-xs-6">
					<table id="datosPorTarifa" class="customTable table-striped tableFit table-bordered table-material dataTable dtr-column">
			            <thead>
			                <tr>
			                    <th rowspan="2" style='border-right: 1px solid #cfcfcf;'><spring:message code="pagosTarifa.perfil"/></th>
			                    <th colspan="2" style="width: 50%"><spring:message code="pagosTarifa.tarifaDiaria"/></th>
			                </tr>
			                <tr class="secondary"><th></th></tr>
			            </thead>
			            <tbody>
			                <tr class="odd">
			                    <td colspan="3" class="dataTables_empty" valign="top"><spring:message code="pagosTarifa.noResults"/></td>
			                </tr>
			            </tbody>
			        </table>
				</div>
				<div class="col col-xs-6">
					<table id="datosPorTerritorio" class="customTable tfoot table-striped tableFit table-bordered table-material dataTable dtr-column">
			            <thead>
			                <tr>
			                    <th style='border-right: 1px solid #cfcfcf;'><spring:message code="pagosTerritorio.territorio"/></th>
			                    <th><spring:message code="pagosTerritorio.numBeneficiarios"/></th>
			                    <th><spring:message code="pagosTerritorio.numDias"/></th>
			                    <th><spring:message code="pagosTerritorio.importeTotal"/></th>
			                </tr>
			            </thead>
			            <tbody>
			                <tr class="odd">
			                	<td><spring:message code="pagosTerritorio.araba"/></td>
			                    <td colspan="3"></td>
			                </tr>
			                <tr class="even">
			                	<td><spring:message code="pagosTerritorio.bizkaia"/></td>
			                    <td colspan="3" style="text-align: center" valign="top"><spring:message code="pagosTerritorio.noResults"/></td>
			                </tr>
			                <tr class="odd">
			                	<td><spring:message code="pagosTerritorio.gipuzkoa"/></td>
			                    <td colspan="3"></td>
			                </tr>
			            </tbody>
			            <tfoot>
			            	<tr>
			            		<td class="dataTables_empty" valign="top"><spring:message code="pagosTerritorio.total"/></td>
			            		<td></td>
			            		<td></td>
			            		<td></td>
			            	</tr>
			            </tfoot>
			        </table>
				</div>
			</div>
			
		</div>
	</form:form>
</div>
