<%@include file="/jsp/common/taglibs.jsp"%>

<!-- Modal -->
<div class="modal  bs-example-modal-lg" id="modalCategoriaForm">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title">Ajustar Categor&iacute;a</h3>
				<button type="button" class="btn-close" data-bs-dismiss="modal"
					aria-hidden="true"></button>
			</div>
			<div class="modal-body">

				<s:form id="idCategoriaForm" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Categor&iacute;a DDA</label>
							<div class="col-md-4">
								<select id="categoriaV" name="categoria" class="form-control "></select>
							</div>
						</div>
					</fieldset>
				</s:form>
				<label id="CATEGORIALabel" class="labModal" style="display:none; color:red"></label>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-bs-dismiss="modal" >Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.cambioMultiple('CATEGORIA','CategoriaForm');" >Guardar</button>
			</div>
		</div>
	</div>
</div>

<!-- Modal -->
<div class="modal  bs-example-modal-lg" id="modalVentanaForm">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title">Ajustar Ventana</h3>
				<button type="button" class="btn-close" data-bs-dismiss="modal"
					aria-hidden="true"></button>
			</div>
			<div class="modal-body">

				<s:form id="idVentanaForm" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Ventana</label>
							<div  class="col-md-8" >
								<div class="col-md-6">
									<v:datePicker name="fechaInicio" clazz="form-control required datepicker" >
									</v:datePicker>
								</div>
								<div class="col-md-6">
									<v:datePicker name="fechaFin" clazz="form-control required datepicker" >
									</v:datePicker>
								</div>
							</div>
						</div>
					</fieldset>
				</s:form>
				<label id="VENTANALabel" class="labModal" style="display:none; color:red"></label>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-bs-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.cambioMultiple('VENTANA','VentanaForm');">Guardar</button>
			</div>
		</div>
	</div>
</div>

<div class="modal  bs-example-modal-lg" id="modalHvdrForm">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title">Ajustar Fecha Hvdr</h3>
				<button type="button" class="btn-close" data-bs-dismiss="modal"
					aria-hidden="true"></button>
			</div>
			<div class="modal-body">

				<s:form id="idHvdrForm" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Fecha Hvdr</label>
							<div  class="col-md-8" >
								<div class="col-md-6">
									<v:datePicker name="hvrd" clazz="form-control required datepicker" >
									</v:datePicker>
								</div>								
							</div>
						</div>
					</fieldset>
				</s:form>
				<label id="HVRDLabel" class="labModal" style="display:none; color:red"></label>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-bs-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.cambioMultiple('HVRD','HvdrForm');">Guardar</button>
			</div>
		</div>
	</div>
</div>

<div class="modal  bs-example-modal-lg" id="modalCategoriaDTOForm">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title">Ajustar Categor&iacute;a DTO</h3>
				<button type="button" class="btn-close" data-bs-dismiss="modal"
					aria-hidden="true"></button>
			</div>
			<div class="modal-body">

				<s:form id="idCategoriaDTOForm" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
						
						<div class="form-group">							
							 <div  class="col-md-12" >
								
								<label for="inputEmail3" class="col-md-2 control-label">Categor&iacute;a Serie</label>
								<div class="col-md-4">								    																																			
									<select id="categoriaSerieV" name="categoriaSerie" class="form-control required"></select>									
								</div>
								
								<label for="inputEmail3" class="col-md-2 control-label">Tier</label>
								<div class="col-md-4">																					
									<select id="tierV" name="tier" class="form-control required"></select>																				
								</div>
							</div>
						</div>			
																		
					</fieldset>
				</s:form>
				<label id="CATEGORIADTOLabel" class="labModal" style="display:none; color:red"></label>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-bs-dismiss="modal" >Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.cambioMultiple('CATEGORIADTO','CategoriaDTOForm');" >Guardar</button>
			</div>
		</div>
	</div>
</div>

<div class="modal  bs-example-modal-lg" id="modalCategoriaDTRForm">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title">Ajustar Categor&iacute;a DTR</h3>
				<button type="button" class="btn-close" data-bs-dismiss="modal"
					aria-hidden="true"></button>
			</div>
			<div class="modal-body">

				<s:form id="idCategoriaDTRForm" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Categor&iacute;a DTR</label>
							<div class="col-md-4">
								<select name="categoriaDTR" class="form-control ">
								    <option value="Premier">Premier</option>
		   							<option value="Libreria">Libreria</option>
								</select>
							</div>
						</div>
					</fieldset>
				</s:form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-bs-dismiss="modal" >Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.cambioMultiple('CATEGORIADTR','CategoriaDTRForm');" >Guardar</button>
			</div>
		</div>
	</div>
</div>

<div class="modal  bs-example-modal-lg" id="modalResultadosMultiple">
	<div class="modal-dialog modal-sm">
		<div class="modal-content">
			<div class="modal-header">
				<h3 class="modal-title" id="lbResMul">Resultados</h3>
				<button type="button" class="btn-close" data-bs-dismiss="modal"
					aria-hidden="true"></button>
			</div>
			<div class="modal-body">
				<table>
					<tr>
						<td align="right" width="70%"  >Total de titulos Seleccionados:</td>
						<td align="right" width="30%" id="totalResultMul" ></td>
					</tr>
					
					<tr>
						<td align="right" width="70%">Total de titulos Modificados:</td>
						<td align="right" width="30%" id="cargadoResultMul"></td>
					</tr>
					
					<tr>
						<td align="right" width="70%">Total de titulos Rechazados:</td>
						<td align="right" width="30%" id="rechazatoResultMul"></td>
					</tr>					
				</table>				
			</div>
		</div>
	</div>
</div>

<div id="divTotalTitulos" class="modal " role="dialog">
  <div class="modal-dialog">
    
    <div class="modal-content">
      <div class="modal-header">
        <h4 class="modal-title">Total Títulos</h4>
        <button type="button" class="btn-close" data-bs-dismiss="modal"></button>
      </div>
      
      <div class="modal-body">
        <p></p>
      </div>
      
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-bs-dismiss="modal">Cerrar</button>        
      </div>
      
    </div>
  </div>
</div>