358 lines
No EOL
20 KiB
Text
358 lines
No EOL
20 KiB
Text
<div class="dataTables_wrapper no-footer">
|
|
<table id="tblDocumentos" class="table table-striped dataTable no-footer">
|
|
<thead>
|
|
<tr>
|
|
<th>Nombre del documento</th>
|
|
<th>Acción</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
|
|
@*DOCUMENTOS DE APROBACION*@
|
|
@if (ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaAprobacion1 || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaAprobacion2 || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaInforma || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaVbModificacionCaratula || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaCrearOperacion || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaSeguros || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaFirmaDocumentos || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaLiquidacion || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaVbAprobacionCaratula)
|
|
{
|
|
<tr id="trSolicitud">
|
|
<td colspan="2" class="text-left">
|
|
<h4><i class="fa fa-file-text"></i> Documentos de la Solicitud</h4>
|
|
</td>
|
|
</tr>
|
|
<tr id="trGeneralDoc1">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Carátula de Aprobación</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocCaratulaCredito" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr id="trGeneralDoc2">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Carta de Aprobación</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
|
|
@if (ViewBag.TipoAprobacionCaso == ULA.Davivienda.PrestamoAutos.Commons.EnumTipoAprobacionCaso.Aprobado || ViewBag.TipoAprobacionCaso == ULA.Davivienda.PrestamoAutos.Commons.EnumTipoAprobacionCaso.PreAprobado)
|
|
{
|
|
<button type="button" id="btnGenDocCartaAprobacionCompraTasa" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
}
|
|
@*else if(ViewBag.TipoAprobacionCaso == ULA.Davivienda.PrestamoAutos.Commons.EnumTipoAprobacionCaso.Aprobado && ViewBag.AplicaCompraTasa != true)
|
|
{
|
|
<button type="button" id="btnGenDocCartaAprobacion" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
}
|
|
else if(ViewBag.TipoAprobacionCaso == ULA.Davivienda.PrestamoAutos.Commons.EnumTipoAprobacionCaso.PreAprobado && ViewBag.AplicaCompraTasa == true)
|
|
{
|
|
<button type="button" id="btnGenDocCartaPreAprobacionCompraTasa" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
}
|
|
else if(ViewBag.TipoAprobacionCaso == ULA.Davivienda.PrestamoAutos.Commons.EnumTipoAprobacionCaso.PreAprobado && ViewBag.AplicaCompraTasa != true)
|
|
{
|
|
<button type="button" id="btnGenDocCartaPreAprobacion" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
}*@
|
|
else
|
|
{
|
|
<button type="button" id="btnTipoAprobacionCasoUndefined" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
}
|
|
</td>
|
|
</tr>
|
|
}
|
|
|
|
|
|
|
|
@*SEGUROS DE AUTOS DEL INS*@
|
|
@if ((ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaSeguros || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaCrearOperacion || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaFirmaDocumentos || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaLiquidacion) && ViewBag.IdAseguradoSegAuto == ULA.Davivienda.PrestamoAutos.Commons.EnumAseguradora.INS)
|
|
{
|
|
<tr id="trSeguros">
|
|
<td colspan="2" class="text-left">
|
|
<h4><i class="fa fa-file-text"></i> Documentos de Seguros de Auto</h4>
|
|
</td>
|
|
</tr>
|
|
<tr id="trSegurosDoc1">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Solicitud del Seguro del INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocSolicitudSeguroINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr id="trSegurosDoc2">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Carta de Exclusión de Flotilla INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocCartaExclusionFlotillaINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr id="trSegurosDoc5">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Carta Descriptiva INS Calidad</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocCartaDescriptivaPolizaINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
|
|
@*
|
|
<tr id="trSegurosDoc3">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Comprobante de Entrega de Documentos</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocComprobanteEntregaDocumentos" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
*@
|
|
|
|
@*
|
|
<tr id="trSegurosDoc4">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Deber de Información</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocDeberInformacion" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
*@
|
|
|
|
|
|
}
|
|
|
|
|
|
@*SEGUROS DE AUTOS DEL MAPRE*@
|
|
@if ((ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaSeguros || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaCrearOperacion || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaFirmaDocumentos || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaLiquidacion) && ViewBag.IdAseguradoSegAuto == ULA.Davivienda.PrestamoAutos.Commons.EnumAseguradora.MAPFRE)
|
|
{
|
|
<tr id="trSeguros">
|
|
<td colspan="2" class="text-left">
|
|
<h4><i class="fa fa-file-text"></i> Documentos de Seguros de Auto</h4>
|
|
</td>
|
|
</tr>
|
|
<tr id="trSegurosDoc1">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Solicitud del Seguro del MAPFRE</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocSolicitudSeguroMAPFRE" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr id="trSegurosDoc2">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Carta de Exclusión de Flotilla MAPFRE</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocCartaExclusionFlotillaMAPFRE" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr id="trSegurosDoc3">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Carta Descriptiva MAPFRE</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocCartaDescriptivaPolizaMAPFRE" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
}
|
|
|
|
|
|
|
|
@*SEGUROS DE DESEMPLEO DEL INS*@
|
|
@if (ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaSeguros && (ViewBag.IdAseguradoSegVida != null || ViewBag.IdAseguradoSegDesempleo != null))
|
|
{
|
|
<tr>
|
|
<td colspan="2" class="text-left">
|
|
<h4><i class="fa fa-file-text"></i> Documentos de Seguros de Vida o Desempleo</h4>
|
|
</td>
|
|
</tr>
|
|
|
|
if (ViewBag.IdAseguradoSegVida == (int)ULA.Davivienda.PrestamoAutos.Commons.EnumAseguradora.DS || ViewBag.IdAseguradoSegDesempleo == (int)ULA.Davivienda.PrestamoAutos.Commons.EnumAseguradora.DS)
|
|
{
|
|
<tr>
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Solicitud de Aseguramiento Unificada (Personal y Prendario) DS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocSolicitudSeguroDS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
}
|
|
if (ViewBag.IdAseguradoSegVida == (int)ULA.Davivienda.PrestamoAutos.Commons.EnumAseguradora.INS || ViewBag.IdAseguradoSegDesempleo == (int)ULA.Davivienda.PrestamoAutos.Commons.EnumAseguradora.INS)
|
|
{
|
|
<tr>
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Deber de Información INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocDeberInformacionINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Comprobante de Entrega de Documentos INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocComprobanteEntregaDocumentosINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Solicitud Inclusión Vida INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocSolicitudInclusionVidaINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Autorización para Consulta de Expediente INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocAutorizacionConsultaExpedienteINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Solicitud Inclusión Desempleo INS</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocSolicitudInclusionDesempleoINS" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@*DOCUMENTOS LEGALES*@
|
|
@if (( ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaCrearOperacion || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaFirmaDocumentos || ViewBag.Step == ULA.Davivienda.PrestamoAutos.Commons.EnumEtapas.EtapaLiquidacion) && ViewBag.AplicaIntegracionCartera == true)
|
|
{
|
|
<tr id="trCreaOper">
|
|
<td colspan="2" class="text-left">
|
|
<h4><i class="fa fa-file-text"></i> Documentos de Crea Operación</h4>
|
|
</td>
|
|
</tr>
|
|
<tr id="trCreaOperDoc1">
|
|
<td>
|
|
<div class="form-group">
|
|
<span class="col-sm-4"></span>
|
|
<i class="fa fa-download col-sm-1"></i>
|
|
<span class="col-sm-5 text-left">Documento de Prenda</span>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<button type="button" id="btnGenDocPrenda" class="btn btn-default btn-xs">
|
|
<strong> <i class="fa fa-arrow-circle-o-down"></i> <span>Generar documento</span></strong>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
}
|
|
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
@section scripts{
|
|
@Scripts.Render("~/Scripts/Ultimus-Documentos")
|
|
} |