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

<!-- Modal -->
<div class="modal fade bs-example-modal" id="modalEliminar">
	<div class="modal-dialog  modal-sm">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">×</button>
				<h3 class="modal-title">Eliminar titulo</h3>
			</div>
			<div class="modal-body">
				<s:form id="idEliminar" class="form-horizontal col-md-10"
					action="#">
				<input type="hidden" name="idTituloCnt"  >
				<input type="hidden" name="idLista"  >
				<h4 class="text-danger">
					<i class="fa fa-exclamation-triangle"></i>Esta seguro que desea eliminar el titulo <strong class="descTituloElim"></strong> ?
				</h4>
				</s:form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.baja('Eliminar');">Aceptar</button>
			</div>
		</div>
	</div>
</div>


<!-- Modal -->
<div class="modal fade bs-example-modal-lg" id="modalEliminarSAP">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">×</button>
				<h3 class="modal-title">Eliminar titulo</h3>
			</div>
			<div class="modal-body">

				<s:form id="idEliminarSAP" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
					<input type="hidden" name="idTituloCnt"  >
					<input type="hidden" name="idLista"  >
						<div class="form-group">
							<div class="col-md-offset-2 col-md-8">
							<h4 class="text-danger">
								<i class="fa fa-exclamation-triangle"></i>Esta seguro que desea eliminar el titulo <strong class="descTituloElim"></strong> ?
							</h4>
							</div>
						</div>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Fecha Contabilización</label>
							<div class="col-md-8">
									<v:datePicker name="fechaContabilizacion"  clazz="form-control required datepicker" />
							</div>
						</div>
						<label id="errEli" style="display:none; color:red;">Fecha Contabilizacion es obligatorio</label>
					</fieldset>
				</s:form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.baja('EliminarSAP');">Aceptar</button>
			</div>
		</div>
	</div>
</div>

<div class="modal fade bs-example-modal-lg" id="modalEliminarFechaSAP">
	<div class="modal-dialog  modal-lg">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">×</button>
				<h3 class="modal-title">Eliminar titulo</h3>
			</div>
			<div class="modal-body">

				<s:form id="idEliminarFechaSAP" class="form-horizontal col-md-10"
					action="#">
					<fieldset>
					<input type="hidden" name="idTituloCnt"  >
					<input type="hidden" name="idLista"  >
						<div class="form-group">
							<div class="col-md-offset-2 col-md-8">
							<h4 class="text-danger">
								<i class="fa fa-exclamation-triangle"></i>Esta seguro que desea eliminar el titulo <strong class="descTituloElim"></strong> ?
							</h4>
							</div>
						</div>
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Fecha Contabilización</label>
							<div class="col-md-8">
									<v:datePicker name="fechaContabilizacion"  clazz="form-control required datepicker" />
							</div>
						</div>
						
						<div class="form-group">
							<label for="inputEmail3" class="col-md-2  control-label">Tipo Perdida</label>
							<div class="col-md-8">
									<select name="bajaPerdida" id="bajaPerdida">
									  <option value="">Selecciona</option>
									  <option value="1">Con Perdida</option>
									  <option value="0">Sin Perdida</option>
									</select>
							</div>
						</div>
						<label id="errEliFecha" style="display:none; color:red;">Fecha Contabilizacion y tipo de perdida son obligatorios</label>						
					</fieldset>
				</s:form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
				<button type="button" class="btn btn-primary" onclick="tituloController.baja('EliminarFechaSAP');">Aceptar</button>
			</div>
		</div>
	</div>
</div>
