finiquitosactualizacion
This commit is contained in:
@@ -10,6 +10,51 @@ Imports Microsoft.Reporting.WebForms
|
|||||||
|
|
||||||
Namespace Modelos
|
Namespace Modelos
|
||||||
|
|
||||||
|
<Serializable>
|
||||||
|
Public Class NConcepto
|
||||||
|
#Region "Percepciones"
|
||||||
|
Public Property NoConceptoP As String
|
||||||
|
Public Property ConceptoP As String
|
||||||
|
Public Property LabelValorP As String
|
||||||
|
Public Property CveConceptoP As Integer
|
||||||
|
Public Property ImporteP As Double
|
||||||
|
Public Property ImporteGravadoP As Double
|
||||||
|
Public Property ValorP As Double
|
||||||
|
Public Property EstatusP As Integer
|
||||||
|
Public Property isSavedP As Integer
|
||||||
|
Public Property isEditedP As Integer
|
||||||
|
Public Property isOnlyBisibleP As Integer
|
||||||
|
Public Property CveSistemaP As Integer
|
||||||
|
#End Region
|
||||||
|
#Region "Deducciones"
|
||||||
|
Public Property NoConceptoD As String
|
||||||
|
Public Property ConceptoD As String
|
||||||
|
Public Property LabelValorD As String
|
||||||
|
Public Property CveConceptoD As Integer
|
||||||
|
Public Property ImporteD As Double
|
||||||
|
Public Property ImporteGravadoD As Double
|
||||||
|
Public Property ValorD As Double
|
||||||
|
Public Property EstatusD As Integer
|
||||||
|
Public Property isSavedD As Integer
|
||||||
|
Public Property isEditedD As Integer
|
||||||
|
Public Property isOnlyBisibleD As Integer
|
||||||
|
Public Property CveSistemaD As Integer
|
||||||
|
#End Region
|
||||||
|
#Region "Obligaciones"
|
||||||
|
Public Property NoConceptoO As String
|
||||||
|
Public Property ConceptoO As String
|
||||||
|
Public Property LabelValorO As String
|
||||||
|
Public Property CveConceptoO As Integer
|
||||||
|
Public Property ImporteO As Double
|
||||||
|
Public Property ImporteGravadoO As Double
|
||||||
|
Public Property ValorO As Double
|
||||||
|
Public Property EstatusO As Integer
|
||||||
|
Public Property isEditedO As Integer
|
||||||
|
Public Property isOnlyBisibleO As Integer
|
||||||
|
Public Property CveSistemaO As Integer
|
||||||
|
#End Region
|
||||||
|
End Class
|
||||||
|
|
||||||
<Serializable>
|
<Serializable>
|
||||||
Public Class PlantillasPolizas
|
Public Class PlantillasPolizas
|
||||||
Public Property CvePlantillaPoliza As Integer
|
Public Property CvePlantillaPoliza As Integer
|
||||||
|
|||||||
@@ -67,6 +67,53 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.isOnlyVisible {
|
||||||
|
color: #666;
|
||||||
|
/*text-decoration: line-through;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleP td:nth-child(1) {
|
||||||
|
/*text-decoration: line-through;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleD td:nth-last-child(3) {
|
||||||
|
/*text-decoration: line-through;*/
|
||||||
|
}
|
||||||
|
|
||||||
|
.isEditedP td:nth-child(-n+3) {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isEditedD td:nth-last-child(-n+3) {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleP td:nth-child(-n+3) {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleD td:nth-last-child(-n+3) {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleP td:nth-child(-n+3) a {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleD td:nth-last-child(-n+3) a {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isOnlyBisibleO td:nth-last-child(-n+3) a {
|
||||||
|
color: #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.GvConceptos td {
|
||||||
|
font-size: 11px;
|
||||||
|
padding-top: 2px;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||||
@@ -83,6 +130,9 @@
|
|||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkAutorizar" Visible="false" OnClick="LnkAutorizar_Click" runat="server"><i class='material-icons'>done_all</i>Autorizar</asp:LinkButton>
|
<asp:LinkButton ID="LnkAutorizar" Visible="false" OnClick="LnkAutorizar_Click" runat="server"><i class='material-icons'>done_all</i>Autorizar</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<asp:LinkButton ID="LnkCancelarNomina" Visible="false" OnClick="LnkCancelarNomina_Click" runat="server"><i class="fa fa-ban" aria-hidden="true"></i>Desautorizar nómina</asp:LinkButton>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkTimbrar" Visible="false" OnClick="LnkTimbrar_Click" runat="server"><i class="fa fa-bell"></i>Timbrar</asp:LinkButton>
|
<asp:LinkButton ID="LnkTimbrar" Visible="false" OnClick="LnkTimbrar_Click" runat="server"><i class="fa fa-bell"></i>Timbrar</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
@@ -332,7 +382,7 @@
|
|||||||
|
|
||||||
<asp:GridView ID="GvFinOrdinario" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-hover Widthall GvConceptos"
|
<asp:GridView ID="GvFinOrdinario" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-hover Widthall GvConceptos"
|
||||||
Style="text-align: center;" GridLines="None" OnRowDataBound="GvConceptos_RowDataBound" ShowHeaderWhenEmpty="true"
|
Style="text-align: center;" GridLines="None" OnRowDataBound="GvConceptos_RowDataBound" ShowHeaderWhenEmpty="true"
|
||||||
DataKeyNames="ConceptoP,CveConceptoP,ImporteP,ValorP,EstatusP,ConceptoD,CveConceptoD,ImporteD,isOnlyBisibleP,isOnlyBisibleD,EstatusD,ValorD,isEditedD,isEditedP">
|
DataKeyNames="ConceptoP,CveConceptoP,ImporteP,ValorP,EstatusP,ConceptoD,CveConceptoD,ImporteD,isOnlyBisibleP,isOnlyBisibleD,EstatusD,ValorD,isEditedD,isEditedP,isSavedP,isSavedD">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField HeaderText="Concepto">
|
<asp:TemplateField HeaderText="Concepto">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
@@ -407,7 +457,7 @@
|
|||||||
<div class="portlet-body ">
|
<div class="portlet-body ">
|
||||||
<asp:GridView ID="GVFinIndemnizacion" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-hover Widthall GvConceptos"
|
<asp:GridView ID="GVFinIndemnizacion" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-hover Widthall GvConceptos"
|
||||||
Style="text-align: center;" GridLines="None" OnRowDataBound="GvConceptos_RowDataBound" ShowHeaderWhenEmpty="true"
|
Style="text-align: center;" GridLines="None" OnRowDataBound="GvConceptos_RowDataBound" ShowHeaderWhenEmpty="true"
|
||||||
DataKeyNames="ConceptoP,CveConceptoP,ImporteP,ValorP,EstatusP,ConceptoD,CveConceptoD,ImporteD,isOnlyBisibleP,isOnlyBisibleD,EstatusD,ValorD,isEditedD,isEditedP">
|
DataKeyNames="ConceptoP,CveConceptoP,ImporteP,ValorP,EstatusP,ConceptoD,CveConceptoD,ImporteD,isOnlyBisibleP,isOnlyBisibleD,EstatusD,ValorD,isEditedD,isEditedP,isSavedP,isSavedD">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField HeaderText="Concepto">
|
<asp:TemplateField HeaderText="Concepto">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
@@ -479,20 +529,46 @@
|
|||||||
<asp:ListItem Value="-1" Text="Seleccione"></asp:ListItem>
|
<asp:ListItem Value="-1" Text="Seleccione"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
|
||||||
<asp:TextBox CssClass="form-control" ID="TxtmcImporte" runat="server" MaxLength="10"></asp:TextBox>
|
<div class="row">
|
||||||
<asp:Label runat="server" AssociatedControlID="TxtmcImporte" Enabled="false" Text="Importe"></asp:Label>
|
<div class="col-md-9"></div>
|
||||||
<i></i>
|
<div class="col-md-3">Calcular automatico</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="row">
|
||||||
<asp:TextBox CssClass="form-control" ID="TxtmcImporteGrabado" runat="server" MaxLength="10"></asp:TextBox>
|
<div class="col-md-9">
|
||||||
<asp:Label runat="server" AssociatedControlID="TxtmcImporteGrabado" Enabled="false" Text="Gravado"></asp:Label>
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<i></i>
|
<asp:TextBox CssClass="form-control" ID="Txtmcvalor" runat="server"></asp:TextBox>
|
||||||
|
<asp:Label runat="server" AssociatedControlID="Txtmcvalor" Enabled="false" Text="Valor"></asp:Label>
|
||||||
|
<i></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 text-center">
|
||||||
|
<asp:CheckBox ID="ChkCalAutomaticoV" OnCheckedChanged="ChkCalAutomaticoV_CheckedChanged" AutoPostBack="true" runat="server" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="row">
|
||||||
<asp:TextBox CssClass="form-control" ID="Txtmcvalor" runat="server" MaxLength="10"></asp:TextBox>
|
<div class="col-md-9">
|
||||||
<asp:Label runat="server" AssociatedControlID="Txtmcvalor" Enabled="false" Text="Valor"></asp:Label>
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<i></i>
|
<asp:TextBox CssClass="form-control" ID="TxtmcImporte" runat="server"></asp:TextBox>
|
||||||
|
<asp:Label runat="server" AssociatedControlID="TxtmcImporte" Enabled="false" Text="Importe"></asp:Label>
|
||||||
|
<i></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 text-center">
|
||||||
|
<asp:CheckBox ID="ChkCalAutomatico" OnCheckedChanged="ChkCalAutomatico_CheckedChanged" AutoPostBack="true" runat="server" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-9">
|
||||||
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
|
<asp:TextBox CssClass="form-control" ID="TxtmcImporteGrabado" runat="server"></asp:TextBox>
|
||||||
|
<asp:Label runat="server" AssociatedControlID="TxtmcImporteGrabado" Enabled="false" Text="Gravado"></asp:Label>
|
||||||
|
<i></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-3 text-center">
|
||||||
|
<asp:CheckBox ID="ChkCalAutomaticoG" OnCheckedChanged="ChkCalAutomaticoG_CheckedChanged" AutoPostBack="true" runat="server" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -10,6 +10,7 @@ using System.Text;
|
|||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using static Extensiones.ModExtensiones;
|
using static Extensiones.ModExtensiones;
|
||||||
|
using Modelos;
|
||||||
|
|
||||||
public partial class Nomina_Nomina2 : ClsPaginas
|
public partial class Nomina_Nomina2 : ClsPaginas
|
||||||
{
|
{
|
||||||
@@ -4589,51 +4590,6 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private class NConcepto
|
|
||||||
{
|
|
||||||
public string NoConceptoP { get; set; }
|
|
||||||
public string ConceptoP { get; set; }
|
|
||||||
public string LabelValorP { get; set; }
|
|
||||||
public int CveConceptoP { get; set; }
|
|
||||||
public double ImporteP { get; set; }
|
|
||||||
public double ImporteGravadoP { get; set; }
|
|
||||||
public double ValorP { get; set; }
|
|
||||||
public int EstatusP { get; set; }
|
|
||||||
public int isSavedP { get; set; }
|
|
||||||
public int isEditedP { get; set; }
|
|
||||||
public int isOnlyBisibleP { get; set; }
|
|
||||||
public int CveSistemaP { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
public string NoConceptoD { get; set; }
|
|
||||||
public string ConceptoD { get; set; }
|
|
||||||
public string LabelValorD { get; set; }
|
|
||||||
public int CveConceptoD { get; set; }
|
|
||||||
public double ImporteD { get; set; }
|
|
||||||
public double ImporteGravadoD { get; set; }
|
|
||||||
public double ValorD { get; set; }
|
|
||||||
public int EstatusD { get; set; }
|
|
||||||
public int isSavedD { get; set; }
|
|
||||||
public int isEditedD { get; set; }
|
|
||||||
public int isOnlyBisibleD { get; set; }
|
|
||||||
public int CveSistemaD { get; set; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public string NoConceptoO { get; set; }
|
|
||||||
public string ConceptoO { get; set; }
|
|
||||||
public string LabelValorO { get; set; }
|
|
||||||
public int CveConceptoO { get; set; }
|
|
||||||
public double ImporteO { get; set; }
|
|
||||||
public double ImporteGravadoO { get; set; }
|
|
||||||
public double ValorO { get; set; }
|
|
||||||
public int EstatusO { get; set; }
|
|
||||||
public int isEditedO { get; set; }
|
|
||||||
public int isOnlyBisibleO { get; set; }
|
|
||||||
public int CveSistemaO { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
int CveConceptoPolgvc, CveConceptoDolgvc;
|
int CveConceptoPolgvc, CveConceptoDolgvc;
|
||||||
protected void GvConceptos_RowDataBound(object sender, GridViewRowEventArgs e)
|
protected void GvConceptos_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user