This commit is contained in:
HECTOR RODRIGUEZ
2021-04-26 10:38:27 -07:00
10 changed files with 368 additions and 230 deletions

View File

@@ -1742,7 +1742,7 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
Calle As String, NumExt As String, NumInt As String, Colonia As String, CP As String, Ciudad As String, CveEstado As Integer, Telefono As String, Celular As String, RFC As String, CURP As String,
NombrePadre As String, NombreMadre As String, CveSATBanco As Integer, CveSATRiesgoPuesto As Integer, CveSATRegimenContratacion As Integer, CveClienteAsignado As Integer, CveSubProyecto As Integer, URL As String, CveSupervisor As Integer, CLABE As String, BancoNumCuenta As String,
CveJornada As Integer, IdCtaContPersonal As Integer, CtaContPersonal As String, IdCtaContPrestamos As Integer, CtaContPrestamos As String, CveUsuario As Integer, CveEmpresa As Integer, CveUsuarioNomina As Integer, Optional CveSubProyectoZona As Integer = Nothing, Optional CveUniforme As Integer = -1,
Optional TelefonoExtension As String = "-1", Optional CelularPersonal As String = "-1", Optional TelefonoMarcadoRapido As String = "-1", Optional ContactoAlterno As String = "-1", Optional CveTipodeSalario As Integer = 1) As Boolean
Optional TelefonoExtension As String = "-1", Optional CelularPersonal As String = "-1", Optional TelefonoMarcadoRapido As String = "-1", Optional ContactoAlterno As String = "-1", Optional CveTipodeSalario As Integer = 1, Optional Sindicalizado As Boolean = False) As Boolean
Dim Retorno As Boolean = False
@@ -1823,6 +1823,7 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
.Add("@TelefonoMarcadoRapido", SqlDbType.VarChar).Value = TelefonoMarcadoRapido
.Add("@ContactoAlterno", SqlDbType.VarChar).Value = ContactoAlterno
.Add("@CveTipodeSalario", SqlDbType.Int).Value = CveTipodeSalario
.Add("@Sindicalizado", SqlDbType.Bit).Value = Sindicalizado
.Add("@RETURN_VALUE", SqlDbType.Int).Direction = ParameterDirection.ReturnValue
@@ -1855,7 +1856,7 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
NombrePadre As String, NombreMadre As String, CveSATBanco As Integer, CveSATRiesgoPuesto As Integer, CveSATRegimenContratacion As Integer, CveClienteAsignado As Integer, CveSubProyecto As Integer, CvePersonal As Integer, URL As String, CveSupervisor As Integer, CLABE As String, BancoNumCuenta As String,
CveJornada As Integer, IdCtaContPersonal As Integer, CtaContPersonal As String, IdCtaContPrestamos As Integer, CtaContPrestamos As String, CveEmpresa As Integer, CveUsuarioNomina As Integer, Optional CveSubProyectoZona As Integer = Nothing, Optional CveUniforme As Integer = -1,
Optional TelefonoExtension As String = "-1", Optional CelularPersonal As String = "-1", Optional TelefonoMarcadoRapido As String = "-1", Optional ContactoAlterno As String = "-1", Optional CveUsuarioModifico As Integer = -1,
Optional FechaActivo As Date = MinFecha, Optional FechaReingreso As Date = MinFecha, Optional CveTipodeSalario As Integer = 1) As Boolean
Optional FechaActivo As Date = MinFecha, Optional FechaReingreso As Date = MinFecha, Optional CveTipodeSalario As Integer = 1, Optional Sindicalizado As Integer = -1) As Boolean
Dim Retorno As Boolean = False
@@ -1940,6 +1941,7 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo
.Add("@FechaActivo", SqlDbType.Date).Value = FechaActivo
.Add("@FechaReingreso", SqlDbType.Date).Value = FechaReingreso
.Add("@CveTipodeSalario", SqlDbType.Int).Value = CveTipodeSalario
.Add("@Sindicalizado", SqlDbType.Int).Value = Sindicalizado
End With

View File

@@ -88,6 +88,7 @@ Public Class LogicNominas
Dim NombreCompleto As String = ""
Dim CURP As String = ""
Dim Sindicalizado As Boolean = False
Dim NumeroSS As String = ""
Dim FechaInicioContrato As String = ""
Dim CodigoTipoContrato As String = ""
@@ -101,6 +102,7 @@ Public Class LogicNominas
Dim ClaveBanco As String = ""
Dim BancoNumCuenta As String = ""
Dim SDI As Double = 0
Dim SalarioDiarioSS As Double = 0
Dim ClaveEstado As String = ""
Dim ObjIncapacidades As New List(Of CFDINominaIncapacidades)
@@ -120,6 +122,7 @@ Public Class LogicNominas
RFC = objPersonal.RFC
NombreCompleto = objPersonal.NombreCompleto
Sindicalizado = objPersonal.DtResultados.Rows(0)("Sindicalizado").ToString().ToUpper().Contiene("TRUE", "1")
CURP = objPersonal.CURP
NumeroSS = objPersonal.NumeroSS
FechaInicioContrato = objPersonal.FechaInicioContrato.ToString()
@@ -134,6 +137,7 @@ Public Class LogicNominas
ClaveBanco = objPersonal.ClaveBanco
BancoNumCuenta = objPersonal.BancoNumCuenta
SDI = objPersonal.SDI
SalarioDiarioSS = objPersonal.SalarioDiarioSS
ClaveEstado = objPersonal.ClaveEstado
AntiguedadSemanas = DateDiff(DateInterval.Weekday, objPersonal.FechaIngreso, Now).ToEntero()
@@ -368,8 +372,8 @@ Public Class LogicNominas
cfdi.Nomina.Receptor.CodigoBanco = ClaveBanco
cfdi.Nomina.Receptor.NumeroCuenta = BancoNumCuenta
cfdi.Nomina.Receptor.SDI = SDI
cfdi.Nomina.Receptor.SBC = SDI
cfdi.Nomina.Receptor.Sindicalizado = ""
cfdi.Nomina.Receptor.SBC = SalarioDiarioSS
cfdi.Nomina.Receptor.Sindicalizado = If(Sindicalizado, "Si", "No")
cfdi.Nomina.Receptor.CodigoEntidadFederativa = ClaveEstado
cfdi.Conceptos.Add(New CFDIConceptos With {.Cantidad = 1, .ClaveUnidad = "ACT", .ClaveProdServ = "84111505", .Descripcion = "Pago de nómina", .ValorUnitario = cfdi.Comprobante.Subtotal, .Importe = cfdi.Comprobante.Subtotal, .Descuento = cfdi.Nomina.TotalDeducciones.ToString().ToDecimal()})

View File

@@ -229,7 +229,7 @@ Partial Class Nomina_Nomina
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
If UsuarioActual.CveEmpresa.Contiene(1, 80, 72, 119, 153, 158) Then
If UsuarioActual.CveEmpresa.Contiene(1, 48, 80, 72, 119, 153, 154, 158) Then
Response.Redirect("/Nomina/Nomina2.aspx")
End If
CargaTiposPeriodo()

View File

@@ -4,6 +4,13 @@
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
<style>
.lblforchk {
font-size: 13px;
color: #888888;
opacity: 1;
display: block;
}
.dnone {
display: none !important;
}
@@ -539,7 +546,7 @@
<div id="DModalModAsistencia" class="modal ADS fade" role="dialog">
<asp:UpdatePanel ID="UpdatePanel1" class="modal-dialog" tabindex="-1" runat="server" UpdateMode="Conditional">
<asp:UpdatePanel ID="UpModalAsistencia" class="modal-dialog" tabindex="-1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<div class="modal-content rowpadding">
<div class="modal-header">
@@ -2310,7 +2317,7 @@
<div style="width: 140px; display: inline-block;">
<div class="form-group form-md-line-input">
<asp:TextBox ID="TXTFechaFin" CssClass="form-control" runat="server"></asp:TextBox>
<asp:Label runat="server" AssociatedControlID="TXTFechaFin">Fecha Inicio:</asp:Label>
<asp:Label runat="server" AssociatedControlID="TXTFechaFin">Fecha Fin:</asp:Label>
<ajax:MaskedEditExtender ID="MEEFechaFin" runat="server" TargetControlID="TXTFechaFin" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="CEEFechaFin" TargetControlID="TXTFechaFin" PopupButtonID="LnkFechaFin" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="RFVFechaFin" runat="server" ControlToValidate="TXTFechaFin" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''FechaNacimiento''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGetTxts"></asp:RequiredFieldValidator>
@@ -2327,6 +2334,18 @@
</div>
</div>
<div class="form-group form-md-line-input">
<asp:Label CssClass="lblforchk" runat="server" Text="Altas:"></asp:Label>
<asp:CheckBox ID="ChkSuaAltas" Text=" " CssClass="chksino" runat="server" />
</div>
<div class="form-group form-md-line-input">
<asp:Label CssClass="lblforchk" runat="server" Text="Bajas:"></asp:Label>
<asp:CheckBox ID="ChkSuaBajas" Text=" " CssClass="chksino" runat="server" />
</div>
<%--<div class="form-group form-md-line-input">
<asp:Label CssClass="lblforchk" runat="server" Text="Label"></asp:Label><br />
<asp:CheckBox ID="CheckBox3" CssClass="chksino" runat="server" />
</div>--%>
</div>
<div class="modal-footer">

View File

@@ -4514,7 +4514,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
TxtHorasDobles.Text = dr["HorasDobles"].ToString();
TxtHorasTriples.Text = dr["HorasTriples"].ToString();
DdlMotivoHoraExtra.SelectedValueExist(dr["CveMotivoHoraExtra"].ToString());
TxtPorPago.Text = dr["Observacion"].ToString();
TxtObservaciones.Text = dr["Observacion"].ToString();
// CveAsistenciasInasistencias
// PorcentajePago
// HorasDobles
@@ -4526,6 +4526,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
}
}
}
UpModalAsistencia.Update();
RegistraScript("$('#DModalModAsistencia').modal();");
}
@@ -4799,7 +4800,17 @@ public partial class Nomina_Nomina2 : ClsPaginas
}
}
RegistraScript(string.Format("SaveCsv(\"MovtosAfil.txt\", '{0}');SaveCsv(\"MovtosmodSalario.txt\", '{1}');SaveCsv(\"movtosBajas.txt\", '{2}');", MovtosAfil.Replace("'", "\\'"), MovtosmodSalario.Replace("'", "\\'"), movtosBajas.Replace("'", "\\'")));
string script = "";// string.Format("SaveCsv(\"MovtosAfil.txt\", '{0}');SaveCsv(\"MovtosmodSalario.txt\", '{1}');SaveCsv(\"movtosBajas.txt\", '{2}');", MovtosAfil.Replace("'", "\\'"), MovtosmodSalario.Replace("'", "\\'"), movtosBajas.Replace("'", "\\'"));
if (ChkSuaAltas.Checked)
{
script= string.Format("{1}SaveCsv(\"MovtosAfil.txt\", '{0}');", MovtosAfil.Replace("'", "\\'"), script);
}
if (ChkSuaBajas.Checked)
{
script = string.Format("{1}SaveCsv(\"movtosBajas.txt\", '{0}');", movtosBajas.Replace("'", "\\'"), script);
}
RegistraScript(script);
RegistraScript("$('#DmodalGetSua').modal('hide');");
}

View File

@@ -386,6 +386,7 @@
</ajax:TabPanel>
<ajax:TabPanel ID="TabDetalleParteVariable" runat="server" HeaderText="Detalle parte variable">
<ContentTemplate>
<asp:GridView ID="GVDetalleParteVariable" runat="server" GridLines="None" CssClass="table table-hover table-striped ScrollAD Widthall" ></asp:GridView>
</ContentTemplate>
</ajax:TabPanel>
</ajax:TabContainer>

View File

@@ -32,6 +32,11 @@ public partial class RH_CalculoSBC : ClsPaginas
GVCalculosSBC.DataSource = objnom.DTSetResultados.Tables[0];
GVCFija.DataSource = objnom.DTSetResultados.Tables[0];
GVPV.DataSource = objnom.DTSetResultados.Tables[0];
if(objnom.DTSetResultados.Tables.Count > 0)
{
GVDetalleParteVariable.DataSource = objnom.DTSetResultados.Tables[1];
GVDetalleParteVariable.DataBind();
}
}
}
GVCalculosSBC.DataBind();

View File

@@ -5,6 +5,14 @@
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
<link href="/Metronic/assets/global/plugins/dropzone/css/dropzone.css" rel="stylesheet" />
<style>
.lblforchk {
font-size: 13px;
color: #888888;
opacity: 1;
display: block;
}
#C_Tab_TabRH > div.row > div:nth-child(3) > div:nth-child(3) > div.portlet-body.form > table > tbody > tr:nth-child(1) > td {
width: 200px !important;
}
@@ -25,6 +33,7 @@
.GvVacaciones tr td:nth-child(1) {
white-space: nowrap;
}
</style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
@@ -481,20 +490,19 @@
<asp:CompareValidator ID="CVFechaFinContrato" runat="server" ControlToValidate="TxtFechaFinContrato" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha Fin Contrato''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="GrpGuardar"></asp:CompareValidator>
</div>
<div class="form-group form-md-line-input input-iconright">
<asp:DropDownList Width="100%" ID="DdlTipoContrato" runat="server" AppendDataBoundItems="True" DataTextField="TipoContrato" DataValueField="CveTipoContrato" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
<asp:Label AssociatedControlID="DdlTipoContrato" runat="server" Text="Tipo de Contrato:"></asp:Label>
<label for="<%= DdlTipoContrato.ClientID.ToString()%>">Tipo de Contrato: </label>
<asp:RequiredFieldValidator ID="RFVTipoContrato" runat="server" ControlToValidate="DdlTipoContrato" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''TipoContrato''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
<i></i>
</div>
<div class="form-group form-md-line-input input-iconright">
<asp:TextBox CssClass="form-control" ID="TxtUbicacion" runat="server"></asp:TextBox>
<label for="<%= TxtUbicacion.ClientID.ToString()%>">Ubicación-Estación </label>
<asp:Label AssociatedControlID="TxtUbicacion" runat="server" Text="Ubicación-Estación"></asp:Label>
<i></i>
</div>
@@ -502,7 +510,7 @@
<asp:DropDownList Width="100%" ID="DdlTurno" runat="server" AppendDataBoundItems="True" DataTextField="Turno" DataValueField="CveTurno" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
<label for="<%= DdlTurno.ClientID.ToString()%>">Turno: </label>
<asp:Label AssociatedControlID="DdlTurno" runat="server" Text="Turno:"></asp:Label>
<asp:RequiredFieldValidator ID="RFVTurno" runat="server" ControlToValidate="DdlTurno" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Turno''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
<i></i>
</div>
@@ -512,7 +520,7 @@
<asp:DropDownList Width="100%" ID="DdlJornada" runat="server" AppendDataBoundItems="True" DataTextField="Jornada" DataValueField="CveJornada" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
<label for="<%= DdlJornada.ClientID.ToString()%>">Jornada: </label>
<asp:Label AssociatedControlID="DdlJornada" runat="server" Text="Jornada:"></asp:Label>
<asp:RequiredFieldValidator ID="RFVJornada" runat="server" ControlToValidate="DdlJornada" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Jornada''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
<i></i>
</div>
@@ -521,7 +529,7 @@
<asp:DropDownList Width="100%" ID="DdlDepartamento" runat="server" AppendDataBoundItems="True" DataTextField="Departamento" DataValueField="CveDepartamento" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
<label for="<%= DdlDepartamento.ClientID.ToString()%>">Departamento: </label>
<asp:Label AssociatedControlID="DdlDepartamento" runat="server" Text="Departamento:"></asp:Label>
<asp:RequiredFieldValidator ID="RFVDepartamento" runat="server" ControlToValidate="DdlDepartamento" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Departamento''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
<i></i>
</div>
@@ -530,7 +538,7 @@
<asp:DropDownList Width="100%" ID="DdlPuesto" runat="server" AppendDataBoundItems="True" DataTextField="Puesto" DataValueField="CvePuesto" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
<label for="<%= DdlPuesto.ClientID.ToString()%>">Puesto: </label>
<asp:Label AssociatedControlID="DdlPuesto" runat="server" Text="Puesto:"></asp:Label>
<asp:RequiredFieldValidator ID="RFVPuesto" runat="server" ControlToValidate="DdlPuesto" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Puesto''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
<i></i>
</div>
@@ -539,7 +547,7 @@
<asp:DropDownList Width="100%" ID="DdlRuta" runat="server" AppendDataBoundItems="True" DataTextField="Ruta" DataValueField="CveRuta" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Sin asignar Ruta" Value="-1"></asp:ListItem>
</asp:DropDownList>
<label for="<%= DdlRuta.ClientID.ToString()%>">Ruta: </label>
<asp:Label AssociatedControlID="DdlRuta" runat="server" Text="Ruta:"></asp:Label>
<i></i>
</div>
@@ -547,9 +555,15 @@
<asp:DropDownList Width="100%" ID="DDLUsuarioNomina" runat="server" DataTextField="Nombre" DataValueField="CveUsuario" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
<label for="<%= DDLUsuarioNomina.ClientID.ToString()%>">Nominista: </label>
<asp:Label AssociatedControlID="DDLUsuarioNomina" runat="server" Text="Nominista:"></asp:Label>
<i></i>
</div>
<div class="form-group form-md-line-input input-iconright">
<asp:Label AssociatedControlID="ChkSindicalizado" CssClass="lblforchk" runat="server" Text="Sindicalizado:"></asp:Label>
<asp:CheckBox ID="ChkSindicalizado" CssClass="chksino " Text=" " runat="server" />
</div>
</div>
</div>
</div>
@@ -580,7 +594,8 @@
<i></i>
</div>
<div class="form-group form-md-line-input input-iconright" runat="server" id="DivProyectosAsignado">
<asp:Label runat="server" ID="LblProyectoAsignado" CssClass="form-line" for="<%= DdlProyectoAsignado.ClientID.ToString()%>" Style="margin-bottom: unset; color: #888888">Proyecto: </asp:Label>
<asp:Label runat="server" ID="LblProyectoAsignado" CssClass="form-line" for="<%= DdlProyectoAsignado.ClientID.ToString()%>" Style=" margin-bottom: unset;
color: #888888">Proyecto: </asp:Label>
<asp:DropDownList Width="100%" ID="DdlProyectoAsignado" runat="server" AppendDataBoundItems="True" AutoPostBack="True" DataTextField="Proyecto" DataValueField="CveProyecto" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<%-- <asp:ListItem Selected="True" Text="Sin Proyecto asignado" Value="-1"></asp:ListItem>--%>
</asp:DropDownList>
@@ -588,7 +603,8 @@
<i></i>
</div>
<div class="form-group form-md-line-input input-iconright">
<asp:Label runat="server" ID="LblSubProyectoAsignado" CssClass="form-line" for="<%= DdlSubProyectoAsignado.ClientID.ToString()%>" Style="margin-bottom: unset; color: #888888">SubProyecto: </asp:Label>
<asp:Label runat="server" ID="LblSubProyectoAsignado" CssClass="form-line" for="<%= DdlSubProyectoAsignado.ClientID.ToString()%>" Style=" margin-bottom: unset;
color: #888888">SubProyecto: </asp:Label>
<asp:DropDownList Width="100%" ID="DdlSubProyectoAsignado" runat="server" AppendDataBoundItems="True" DataTextField="SubProyecto" DataValueField="CveSubProyecto" CssClass="form-control input-sm select2me" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Sin SubProyecto asignado" Value="-1"></asp:ListItem>
</asp:DropDownList>
@@ -751,7 +767,8 @@
<div id="divCuentas" runat="server" visible="false">
<asp:UpdatePanel runat="server" ID="UpCuentaConceptos" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GvCta" runat="server" DataKeyNames="ConceptoContable,NombreCuenta" AutoGenerateColumns="False" EmptyDataText="" ToolTip="Listado de Historial de Ventas" CssClass="table table-striped table-advance table-hover" Style="text-align: center; width: 100%;" GridLines="None">
<asp:GridView ID="GvCta" runat="server" DataKeyNames="ConceptoContable,NombreCuenta" AutoGenerateColumns="False" EmptyDataText="" ToolTip="Listado de Historial de Ventas" CssClass="table table-striped table-advance table-hover" Style="text-align: center; width: 100%;"
GridLines="None">
<Columns>
<asp:BoundField HeaderText="Concepto Contable" DataField="ConceptoContable" />
<asp:BoundField HeaderText="Nombre Cuenta" DataField="NombreCuenta" />
@@ -1578,14 +1595,17 @@
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group form-md-line-input input-iconright " style="width: 120px !important; display: inline-block;">
<div class="form-group form-md-line-input input-iconright " style=" width: 120px !important;
display: inline-block;">
<asp:TextBox CssClass="form-control" ID="TxtInfoFechaInicio" runat="server" MaxLength="20"></asp:TextBox>
<asp:Label AssociatedControlID="TxtInfoFechaInicio" runat="server" Text="Fecha Inicio"></asp:Label>
<asp:RequiredFieldValidator runat="server" ID="REQFechaF" ControlToValidate="TxtInfoFechaInicio" ErrorMessage="Debe ingresar una fecha" ValidationGroup="vgEstFin" />
<ajax:MaskedEditExtender ID="MaskedEditExtender4" runat="server" TargetControlID="TxtInfoFechaInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="CEEFechaF" TargetControlID="TxtInfoFechaInicio" PopupButtonID="ImgFechaFEstFin" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
</div>
<div style="display: inline-block; vertical-align: top; padding-top: 10px;">
<div style=" display: inline-block;
vertical-align: top;
padding-top: 10px;">
<span class="input-group-btn ">
<asp:LinkButton ID="ImgFechaFEstFin" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
</span>
@@ -1655,14 +1675,17 @@
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group form-md-line-input input-iconright " style="width: 120px !important; display: inline-block;">
<div class="form-group form-md-line-input input-iconright " style=" width: 120px !important;
display: inline-block;">
<asp:TextBox CssClass="form-control" ID="TxtFonFechaInicio" runat="server" MaxLength="20"></asp:TextBox>
<asp:Label AssociatedControlID="TxtFonFechaInicio" runat="server" Text="Fecha Inicio"></asp:Label>
<asp:RequiredFieldValidator runat="server" ID="rfvFonFechaFEstFin" ControlToValidate="TxtFonFechaInicio" ErrorMessage="Debe ingresar una fecha" ValidationGroup="vgEstFon" />
<ajax:MaskedEditExtender ID="MEEFonFechaFEstFin" runat="server" TargetControlID="TxtFonFechaInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="CEEFonFechaFEstFin" TargetControlID="TxtFonFechaInicio" PopupButtonID="LnkFonFechaFEstFin" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
</div>
<div style="display: inline-block; vertical-align: top; padding-top: 10px;">
<div style=" display: inline-block;
vertical-align: top;
padding-top: 10px;">
<span class="input-group-btn ">
<asp:LinkButton ID="LnkFonFechaFEstFin" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
</span>
@@ -1754,8 +1777,6 @@
<%--<asp:DropDownList Width="100%" ID="DdlClienteAsistenciaC" runat="server" AppendDataBoundItems="true" DataTextField="Nombre" DataValueField="CveCliente" CssClass=" form-control select2me ">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>--%>
</div>
<div class="form-group form-md-line-input input-iconright col-md-2">
<asp:DropDownList Width="100%" ID="DdlProyectoAsistenciaC" runat="server" AppendDataBoundItems="true" AutoPostBack="true" DataTextField="Proyecto" DataValueField="CveProyecto" CssClass=" form-control select2me ">
@@ -1853,7 +1874,8 @@
<%--</thead>--%>
<tr>
<td>
<div class="input-group input-sm date date-picker" data-date-format="dd/mm/yyyy" style="min-width: 100px; max-width: 200px;">
<div class="input-group input-sm date date-picker" data-date-format="dd/mm/yyyy" style=" min-width: 100px;
max-width: 200px;">
<asp:TextBox ID="TxtFechaAsistencia" runat="server" CausesValidation="true" CssClass="form-control input-sm"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="ImgCalendarioAsistencia" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
@@ -2150,8 +2172,14 @@
<div class="portlet-body">
<asp:LinkButton ID="BtnPDFResguardo" OnClick="BtnPDFResguardo_Click" runat="server" data-toggle="tooltip" Title="PDF" Style="float: right;"><i class="fa fa-file-pdf-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i></asp:LinkButton>
<asp:LinkButton ID="BtnExcelResguardo" OnClick="BtnExcelResguardo_Click" runat="server" data-toggle="tooltip" Title="Excel" Style="float: right;"><i style='margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;' class='fa fa-file-excel-o'></i></asp:LinkButton>
<asp:LinkButton ID="BtnPDFResguardo" OnClick="BtnPDFResguardo_Click" runat="server" data-toggle="tooltip" Title="PDF" Style=" float: right;"><i class="fa fa-file-pdf-o" style=" margin-right: 10px;
font-size: 15px;
font-weight: bold;
color: dimgray;"></i></asp:LinkButton>
<asp:LinkButton ID="BtnExcelResguardo" OnClick="BtnExcelResguardo_Click" runat="server" data-toggle="tooltip" Title="Excel" Style=" float: right;"><i style=' margin-right: 10px;
font-size: 15px;
font-weight: bold;
color: dimgray;' class='fa fa-file-excel-o'></i></asp:LinkButton>
<asp:GridView ID="GvResguardos" runat="server" AutoGenerateColumns="False" DataKeyNames="CveActivoFijoResguardo" EmptyDataText="No se encontraron Resguardos Registrados" ToolTip="Listado de Resguardos" CssClass="table table-striped table-advance table-hover Widthall" GridLines="None">
<Columns>
@@ -2653,8 +2681,14 @@
<asp:ListItem Text="Cheque" Value="2" />
</asp:RadioButtonList>
<asp:LinkButton ID="BtnPDFHistorial" OnClick="BtnPDFHistorial_Click" runat="server" data-toggle="tooltip" Title="PDF" Style="float: right;"><i class="fa fa-file-pdf-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i></asp:LinkButton>
<asp:LinkButton ID="BtnExcelHistorial" OnClick="BtnExcelHistorial_Click" runat="server" data-toggle="tooltip" Title="Excel" Style="float: right;"><i style='margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;' class='fa fa-file-excel-o'></i></asp:LinkButton>
<asp:LinkButton ID="BtnPDFHistorial" OnClick="BtnPDFHistorial_Click" runat="server" data-toggle="tooltip" Title="PDF" Style=" float: right;"><i class="fa fa-file-pdf-o" style=" margin-right: 10px;
font-size: 15px;
font-weight: bold;
color: dimgray;"></i></asp:LinkButton>
<asp:LinkButton ID="BtnExcelHistorial" OnClick="BtnExcelHistorial_Click" runat="server" data-toggle="tooltip" Title="Excel" Style=" float: right;"><i style=' margin-right: 10px;
font-size: 15px;
font-weight: bold;
color: dimgray;' class='fa fa-file-excel-o'></i></asp:LinkButton>
<asp:UpdatePanel ID="UpnHistorial" runat="server" UpdateMode="Conditional">
<Triggers>
@@ -2859,7 +2893,8 @@
<div class="row">
<div class="col-md-4" style=" text-align: left">Fecha Inicio:</div>
<div class="col-md-2">
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 110px !important; padding: 0px;">
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style=" width: 110px !important;
padding: 0px;">
<asp:TextBox ID="TxtFechaICredito" CssClass="form-control input-sm ADSMaskDate" Style=" width: 90px" runat="server"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="LnkFechaI" class="btn default " Text=" <i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
@@ -2876,7 +2911,8 @@
<div class="row">
<div class="col-md-4" style=" text-align: left">Fecha Fin:</div>
<div class="col-md-2">
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 110px !important; padding: 0px;">
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style=" width: 110px !important;
padding: 0px;">
<asp:TextBox ID="TxtFechaFCredito" CssClass="form-control input-sm ADSMaskDate" Style=" width: 90px" runat="server"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="LnkFechaF" class="btn default " Text=" <i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
@@ -3016,8 +3052,11 @@
<div class="portlet-body ">
<div style="display: inline-block; text-align: right" class="Widthall">
<input type="text" id="TxtBusqueda1" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvConsumos.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
<div style="display: inline-block; text-align: right"
class="Widthall">
<input type="text" id="TxtBusqueda1" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvConsumos.ClientID) %>" style=" display: inline-block;
margin-right: -20px;
width: 150px;" />
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvConsumos.ClientID) %>" style=" margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
</div>
@@ -3205,19 +3244,24 @@
<table runat="server" visible="false" class="table table-hover table-advance Widthall">
<tr>
<td style=" width: 60px;"></td>
<td style="text-align: left; width: 275px;">Gafete</td>
<td style=" text-align: left;
width: 275px;">Gafete</td>
<td style=" width: 40px;"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 50px !important"></td>
</tr>
<tr style=" visibility: hidden">
<td style=" width: 30px;"></td>
<td style="text-align: left; width: 275px;">Contrato</td>
<td style=" text-align: left;
width: 275px;">Contrato</td>
<td style=" width: 40px;"></td>
<td style=" width: 100px;"></td>
<td style="width: 500px; text-align: right!important">
<td style=" width: 500px;
text-align: right !important">
<asp:LinkButton ID="LbContrato" runat="server" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-download' title='Descargar Contrato'></i>" />
</td>
@@ -3226,10 +3270,13 @@
<tr style=" visibility: hidden">
<td style=" width: 60px;"></td>
<td style="text-align: left; width: 275px;">Carta de Trabajo</td>
<td style=" text-align: left;
width: 275px;">Carta de Trabajo</td>
<td style=" width: 40px;"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style="width: 500px; text-align: right!important">
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 500px;
text-align: right !important">
<asp:LinkButton ID="LbCartaTrabajo" runat="server" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-download' title='Descargar Contrato'></i>" />
</td>
@@ -3237,10 +3284,13 @@
</tr>
<tr style=" visibility: hidden">
<td style=" width: 60px;"></td>
<td style="text-align: left; width: 275px;">Solicitud de Vacaciones</td>
<td style=" text-align: left;
width: 275px;">Solicitud de Vacaciones</td>
<td style=" width: 40px;"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style="width: 500px; text-align: right!important">
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 500px;
text-align: right !important">
<asp:LinkButton ID="LbSolicitudVacaciones" runat="server" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-download' title='Descargar Contrato'></i>" />
</td>
@@ -3248,10 +3298,13 @@
</tr>
<tr style=" visibility: hidden">
<td style=" width: 60px;"></td>
<td style="text-align: left; width: 275px;">Acta Administrativa</td>
<td style=" text-align: left;
width: 275px;">Acta Administrativa</td>
<td style=" width: 40px;"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style="width: 500px; text-align: right!important">
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 500px;
text-align: right !important">
<asp:LinkButton ID="LbActaAdministrativa" runat="server" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-download' title='Descargar Contrato'></i>" />
</td>
@@ -3259,20 +3312,26 @@
</tr>
<tr style=" visibility: hidden">
<td style=" width: 60px;"></td>
<td style="text-align: left; width: 275px;">Finiquito</td>
<td style=" text-align: left;
width: 275px;">Finiquito</td>
<td style=" width: 40px;"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style="width: 500px; text-align: right!important">
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 500px;
text-align: right !important">
<asp:LinkButton ID="LbFiniquito" runat="server" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-download' title='Descargar Contrato'></i>" />
</td>
</tr>
<tr style=" visibility: hidden">
<td style=" width: 60px;"></td>
<td style="text-align: left; width: 275px;">Carta de Recomendación</td>
<td style=" text-align: left;
width: 275px;">Carta de Recomendación</td>
<td style=" width: 40px;"></td>
<td style="width: 500px; text-align: right!important"></td>
<td style="width: 500px; text-align: right!important">
<td style=" width: 500px;
text-align: right !important"></td>
<td style=" width: 500px;
text-align: right !important">
<asp:LinkButton ID="LbCartaRecomendacion" runat="server" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-download' title='Descargar Contrato'></i>" />
</td>
@@ -3500,12 +3559,19 @@
</tr>
</table>
<div id="DivMail" style="width: 350px; background-color: White; border: solid 1px black; color: Black; display: none; position: fixed; z-index: 1500">
<div id="DivMail" style=" width: 350px;
background-color: White;
border: solid 1px black;
color: Black;
display: none;
position: fixed;
z-index: 1500">
<asp:UpdatePanel ID="UpSendMail" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:HiddenField ID="HdnCveVenta" runat="server" ClientIDMode="Static" Value="-1" />
<asp:HiddenField ID="HdnFolioVenta" runat="server" ClientIDMode="Static" Value="-1" />
<table border="1" rules="all" style="border-collapse: collapse; width: 350px">
<table border="1" rules="all" style=" border-collapse: collapse;
width: 350px">
<tr align="left">
<td width="150">Para:</td>
<td width="200">
@@ -3535,11 +3601,18 @@
</asp:UpdatePanel>
</div>
<div id="DivAddPago" style="width: 350px; background-color: White; border: solid 1px black; color: Black; display: none; position: fixed; z-index: 1500">
<div id="DivAddPago" style=" width: 350px;
background-color: White;
border: solid 1px black;
color: Black;
display: none;
position: fixed;
z-index: 1500">
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:HiddenField ID="HdnCveVentaAbono" runat="server" ClientIDMode="Static" Value="-1" />
<table border="1" rules="all" style="border-collapse: collapse; width: 350px">
<table border="1" rules="all" style=" border-collapse: collapse;
width: 350px">
<tr align="left">
<td width="150">Cantidad:</td>
<td width="200">
@@ -3773,7 +3846,8 @@
<asp:UpdatePanel runat="server" ID="UPPLiberarUniforme" UpdateMode="Conditional">
<ContentTemplate>
<div class="row" style=" width: 100%;">
<div class="col-md-1" style="width: 30%; text-align: right">
<div class="col-md-1" style=" width: 30%;
text-align: right">
<asp:Label Text="Almacen: " runat="server" />
</div>
<div class="col-md-1" style=" width: 70%">
@@ -3782,7 +3856,8 @@
</div>
<br />
<div runat="server" id="divSeccionAlmacen" class="row" style=" width: 100%;" visible="false">
<div class="col-md-1" style="width: 30%; text-align: right">
<div class="col-md-1" style=" width: 30%;
text-align: right">
<asp:Label Text="Sección: " runat="server" />
</div>
<div class="col-md-1" style=" width: 70%">
@@ -3793,7 +3868,8 @@
</div>
<br />
<div runat="server" id="divSerie" class="row" style=" width: 100%;" visible="false">
<div class="col-md-1" style="width: 30%; text-align: right">
<div class="col-md-1" style=" width: 30%;
text-align: right">
<asp:Label Text="Serie: " runat="server" />
</div>
<div class="col-md-1" style=" width: 70%">
@@ -3802,7 +3878,8 @@
</div>
<br />
<div class="row" style=" width: 100%;">
<div class="col-md-1" style="width: 30%; text-align: right">
<div class="col-md-1" style=" width: 30%;
text-align: right">
<asp:Label runat="server" ID="LblCantidadResguardo">Cantidad:</asp:Label>
</div>
<div class="col-md-1" style=" width: 70%">
@@ -3871,7 +3948,7 @@
</div>
<div>
<asp:Label runat="server" AssociatedControlID="ChkEstatuscuenta" Text="Activo:"></asp:Label><br />
<asp:CheckBox ID="ChkEstatuscuenta" runat="server" Checked="true" Enabled="false"></asp:CheckBox>
<asp:CheckBox ID="ChkEstatuscuenta" runat="server" Checked="true" ></asp:CheckBox>
</div>
</div>
@@ -4154,7 +4231,8 @@
<table style=" width: 100% !important">
<tr>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright">
<asp:DropDownList ID="DdlTipoBuzonCalidad" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="TipoBuzon" DataValueField="CveTipoBuzon" Width="200px">
<asp:ListItem Selected="true" Text="Selecione una" Value="-1"></asp:ListItem>
@@ -4163,7 +4241,8 @@
<asp:RequiredFieldValidator ID="rfvDdlTipoBuzonCalidad" runat="server" ControlToValidate="DdlTipoBuzonCalidad" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Tipo Buzon''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpAgragarBuzonCalidad"></asp:RequiredFieldValidator>
</div>
</td>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright">
<label class="col-md-1 truncate" style="width: 100px; margin-top: -10px; margin-left: -15px; margin-bottom: 2px; font-size: 13px">Cliente: </label>
<ADS:Dropdownlost CssClassDdl="form-control input-sm select2me" ID="DdlClienteBuzon" Width="100%" data-metodo="getcliente" runat="server" DataTextField="Nombre" DataValueField="CveCliente" CssStyle="width: 100%;"></ADS:Dropdownlost>
@@ -4175,7 +4254,8 @@
<i></i>
</div>
</td>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div runat="server" id="Divsucursalciente" visible="false" class="form-group form-md-line-input input-iconright">
<asp:DropDownList ID="DdlSucursalClienteBuzon" runat="server" AutoPostBack="true" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="SucursalCliente" DataValueField="CveClienteSucursal" Width="200px">
@@ -4190,7 +4270,8 @@
</tr>
<tr>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright calendarlinealinput" style=" width: 160px !important">
<div class="input-group input-sm date date-picker" data-date-format="dd/mm/yyyy">
<asp:TextBox ID="TxtFechaBuzonCalidad" runat="server" CausesValidation="true" CssClass="form-control input-sm" ValidationGroup="GrpAgragarBuzonCalidad"></asp:TextBox>
@@ -4205,7 +4286,8 @@
</div>
</td>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright">
@@ -4217,7 +4299,8 @@
</div>
</td>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright">
<asp:TextBox ID="TxtNombreClienteBuzonCalidad" runat="server" CausesValidation="true" MaxLength="50" Visible="true" CssClass="form-control" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RfvTxtNombreClienteBuzonCalidad" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtNombreClienteBuzonCalidad"
@@ -4228,7 +4311,8 @@
</td>
</tr>
<tr>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright">
<asp:TextBox ID="TxtTelefonoBuzonCalidad" runat="server" CausesValidation="true" MaxLength="10" Visible="true" CssClass="form-control" Width="200px"></asp:TextBox>
<ajax:FilteredTextBoxExtender runat="server" TargetControlID="TxtTelefonoBuzonCalidad" FilterType="Numbers,Custom" InvalidChars=".*-" />
@@ -4236,7 +4320,8 @@
<i></i>
</div>
</td>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<div class="form-group form-md-line-input input-iconright">
<asp:TextBox ID="TxtMailBuzonCalidad" runat="server" CausesValidation="true" MaxLength="100" Visible="true" CssClass="form-control" Width="200px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvTxtMailBuzonCalidad" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtMailBuzonCalidad"
@@ -4247,12 +4332,14 @@
<i></i>
</div>
</td>
<td style="width: 33%!important; vertical-align: top!important">
<td style=" width: 33% !important;
vertical-align: top !important">
<asp:CheckBox runat="server" ID="ChkSeAtendio" Text="Se atendió" Visible="false" />
</td>
</tr>
<tr>
<td colspan="3" style="width: 100%!important; vertical-align: top!important">
<td colspan="3" style=" width: 100% !important;
vertical-align: top !important">
<asp:CheckBox runat="server" ID="CheckBox1" Text="Se atendio" Visible="false" />
</td>
</tr>
@@ -4295,7 +4382,9 @@
<br />
<div class="row">
<div id="DivFacturas" style="overflow-y: auto; width: 668px!important; max-height: 215px;">
<div id="DivFacturas" style=" overflow-y: auto;
width: 668px !important;
max-height: 215px;">
<asp:GridView ID="GvBuzonDetalles" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros de Buzón de Calidad"
DataKeyNames=" CvePersonalBuzonDetalle,CvePersonalBuzon,Fecha,Descripcion,SeNotifico,CorreoNotificacion,CveUsuario,Usuario,Nombre "
CssClass="table table-striped table-advance table-hover Widthall ScrollAD mysmallbtn" CellSpacing="0" Width="100%" GridLines="None" data-sort="true">
@@ -4423,7 +4512,8 @@
</div>
<label for="<%= TxtFechaExpLicencia.ClientID.ToString()%>">Fecha Expedición:</label>
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style=" width: 120px !important;
padding: 0px;">
<asp:TextBox ID="TxtFechaExpLicencia" runat="server" CssClass="form-control" CausesValidation="true" Style=" width: 118px" MaxLength="10"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="ImgFLicencia" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
@@ -4437,7 +4527,8 @@
</div>
<label for="<%= TxtFechaVencLicencia.ClientID.ToString()%>">Fecha Vencimiento:</label>
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 120px !important; padding: 0px;">
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style=" width: 120px !important;
padding: 0px;">
<asp:TextBox ID="TxtFechaVencLicencia" runat="server" CssClass="form-control" CausesValidation="true" Style=" width: 118px" MaxLength="10"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="ImgVLicencia" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
@@ -4622,7 +4713,8 @@
</div>
<div class="modal-body">
<div>
<div style="width: 200px; display: inline-block;">
<div style=" width: 200px;
display: inline-block;">
<div class="form-group form-md-line-input">
<asp:TextBox ID="TxtFechamodSalario" Enabled="false" CssClass="form-control" runat="server"></asp:TextBox>
<asp:Label runat="server" AssociatedControlID="TxtFechamodSalario">Fecha:</asp:Label>
@@ -4633,7 +4725,8 @@
</div>
</div>
<div style="width: 80px; display: inline-block;">
<div style=" width: 80px;
display: inline-block;">
<span class="input-group-btn ">
<asp:LinkButton ID="LnkFechaModSalario" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
</span>

View File

@@ -1396,6 +1396,7 @@ Partial Class RH_Personal
Dim drow As DataRow = ObjPersonal.DtResultados.Rows(0)
ChkEstemporal.Checked = drow("esTemporal").ToString() = "1"
CHKRFCValidado.Checked = drow("RFCValidado").ToString() = "1"
ChkSindicalizado.Checked = drow("Sindicalizado").ToString().ToUpper().Contiene("1", "TRUE")
TxtMailrecibonomina.Text = drow("MaiReciboNomina").ToString()
'Carga Datos Personales
LtlPersonal.Text = ObjPersonal.NombreCompleto
@@ -1718,7 +1719,7 @@ Partial Class RH_Personal
DdlClienteAsignado.SelectedValue.ToEntero, DdlSubProyectoAsignado.SelectedValue.ToEntero, URL,
DdlSupervisor.SelectedValue.ToEntero, TxtCLABE.Text.Trim, TxtBancoNumCuenta.Text.Trim, DdlJornada.SelectedValue.ToEntero, DdlViaticos.SelectedValue.ToEntero, DdlViaticos.SelectedItem.Text,
DdlPrestamos.SelectedValue.ToEntero, DdlPrestamos.SelectedItem.Text, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, DDLUsuarioNomina.SelectedValue.ToEntero, DdlSubproyectoZona.SelectedValue.ToEntero, CveUniforme:=DdlUniforme.SelectedValue.ToEntero,
TelefonoExtension:=TxtTelefonoExtension.Text, CelularPersonal:=TxtCelularPersonal.Text, TelefonoMarcadoRapido:=TxtTelefonoMarcadoRapido.Text, ContactoAlterno:="", CveTipodeSalario:=DDlTipoSalario.SelectedValue.ToEntero()) Then
TelefonoExtension:=TxtTelefonoExtension.Text, CelularPersonal:=TxtCelularPersonal.Text, TelefonoMarcadoRapido:=TxtTelefonoMarcadoRapido.Text, ContactoAlterno:="", CveTipodeSalario:=DDlTipoSalario.SelectedValue.ToEntero(), Sindicalizado:=ChkSindicalizado.Checked) Then
If Archivo.Exists Then
@@ -1791,7 +1792,7 @@ Partial Class RH_Personal
URL, DdlSupervisor.SelectedValue.ToEntero, TxtCLABE.Text.Trim, TxtBancoNumCuenta.Text.Trim, DdlJornada.SelectedValue.ToEntero, DdlViaticos.SelectedValue.ToEntero, DdlViaticos.SelectedItem.Text,
DdlPrestamos.SelectedValue.ToEntero, DdlPrestamos.SelectedItem.Text, UsuarioActual.CveEmpresa, DDLUsuarioNomina.SelectedValue.ToEntero, DdlSubproyectoZona.SelectedValue.ToEntero, CveUniforme:=DdlUniforme.SelectedValue.ToEntero,
TelefonoExtension:=TxtTelefonoExtension.Text, CelularPersonal:=TxtCelularPersonal.Text, TelefonoMarcadoRapido:=TxtTelefonoMarcadoRapido.Text, ContactoAlterno:="", CveUsuarioModifico:=UsuarioActual.CveUsuario,
FechaActivo:=FechaActivo, FechaReingreso:=FechaReingreso, CveTipodeSalario:=DDlTipoSalario.SelectedValue.ToEntero()) Then
FechaActivo:=FechaActivo, FechaReingreso:=FechaReingreso, CveTipodeSalario:=DDlTipoSalario.SelectedValue.ToEntero(), Sindicalizado:=If(ChkSindicalizado.Checked, 1, 0)) Then
'Funsion usa RH Familiares
If UsuarioActual.Empresa.Funcionalidad(568) = "1" Then

View File

@@ -232,6 +232,8 @@