This commit is contained in:
@@ -40,92 +40,92 @@
|
|||||||
<table class="table table-striped table-advance table-hover mysmallbtn Widthall tableheader">
|
<table class="table table-striped table-advance table-hover mysmallbtn Widthall tableheader">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="Titulos ADtr">
|
<tr class="Titulos ADtr">
|
||||||
<th width="110px">
|
<th style="width:110px">
|
||||||
<asp:LinkButton ID="LbTipoPeriodo" runat="server" CausesValidation="false" Text="" CommandArgument="TipoPeriodo" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbTipoPeriodo" runat="server" CausesValidation="false" Text="" CommandArgument="TipoPeriodo" OnClick="LbOrden_Click">
|
||||||
Tipo
|
Tipo
|
||||||
<asp:Literal ID="ImgTipoPeriodo" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgTipoPeriodo" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEjercicio" runat="server" CausesValidation="false" Text="" CommandArgument="Ejercicio" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEjercicio" runat="server" CausesValidation="false" Text="" CommandArgument="Ejercicio" OnClick="LbOrden_Click">
|
||||||
Ej.
|
Ej.
|
||||||
<asp:Literal ID="ImgEjercicio" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEjercicio" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbMes" runat="server" CausesValidation="false" Text="" CommandArgument="Mes" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbMes" runat="server" CausesValidation="false" Text="" CommandArgument="Mes" OnClick="LbOrden_Click">
|
||||||
Mes
|
Mes
|
||||||
<asp:Literal ID="ImgMes" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgMes" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbNumero" runat="server" CausesValidation="false" Text="" CommandArgument="Numero" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbNumero" runat="server" CausesValidation="false" Text="" CommandArgument="Numero" OnClick="LbOrden_Click">
|
||||||
No.
|
No.
|
||||||
<asp:Literal ID="ImgNumero" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgNumero" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="100px">
|
<th style="width:100px">
|
||||||
<asp:LinkButton ID="LbFechaInicio" runat="server" CausesValidation="false" Text="" CommandArgument="FechaInicio" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbFechaInicio" runat="server" CausesValidation="false" Text="" CommandArgument="FechaInicio" OnClick="LbOrden_Click">
|
||||||
Fecha Ini
|
Fecha Ini
|
||||||
<asp:Literal ID="ImgFechaInicio" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgFechaInicio" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="100px">
|
<th style="width:100px">
|
||||||
<asp:LinkButton ID="LbFechaFin" runat="server" CausesValidation="false" Text="" CommandArgument="FechaFin" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbFechaFin" runat="server" CausesValidation="false" Text="" CommandArgument="FechaFin" OnClick="LbOrden_Click">
|
||||||
Fecha Fin
|
Fecha Fin
|
||||||
<asp:Literal ID="ImgFechaFin" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgFechaFin" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEsInicioMes" runat="server" CausesValidation="false" Text="" CommandArgument="EsInicioMes" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEsInicioMes" runat="server" CausesValidation="false" Text="" CommandArgument="EsInicioMes" OnClick="LbOrden_Click">
|
||||||
Ini. Mes
|
Ini. Mes
|
||||||
<asp:Literal ID="ImgEsInicioMes" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEsInicioMes" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEsFinMes" runat="server" CausesValidation="false" Text="" CommandArgument="EsFinMes" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEsFinMes" runat="server" CausesValidation="false" Text="" CommandArgument="EsFinMes" OnClick="LbOrden_Click">
|
||||||
Fin Mes
|
Fin Mes
|
||||||
<asp:Literal ID="ImgEsFinMes" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEsFinMes" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEsInicioSS" runat="server" CausesValidation="false" Text="" CommandArgument="EsInicioSS" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEsInicioSS" runat="server" CausesValidation="false" Text="" CommandArgument="EsInicioSS" OnClick="LbOrden_Click">
|
||||||
Ini. SS
|
Ini. SS
|
||||||
<asp:Literal ID="ImgEsInicioSS" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEsInicioSS" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEsFinSS" runat="server" CausesValidation="false" Text="" CommandArgument="EsFinSS" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEsFinSS" runat="server" CausesValidation="false" Text="" CommandArgument="EsFinSS" OnClick="LbOrden_Click">
|
||||||
Fin SS
|
Fin SS
|
||||||
<asp:Literal ID="ImgEsFinSS" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEsFinSS" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEsInicioAño" runat="server" CausesValidation="false" Text="" CommandArgument="EsInicioAño" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEsInicioAño" runat="server" CausesValidation="false" Text="" CommandArgument="EsInicioAño" OnClick="LbOrden_Click">
|
||||||
Ini. Año
|
Ini. Año
|
||||||
<asp:Literal ID="ImgEsInicioAño" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEsInicioAño" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="80px">
|
<th style="width:80px">
|
||||||
<asp:LinkButton ID="LbEsFinAño" runat="server" CausesValidation="false" Text="" CommandArgument="EsFinAño" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEsFinAño" runat="server" CausesValidation="false" Text="" CommandArgument="EsFinAño" OnClick="LbOrden_Click">
|
||||||
Fin Año
|
Fin Año
|
||||||
<asp:Literal ID="ImgEsFinAño" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEsFinAño" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="100px">
|
<th style="width:100px">
|
||||||
<asp:LinkButton ID="LbFueCalculado" runat="server" CausesValidation="false" Text="" CommandArgument="FueCalculado" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbFueCalculado" runat="server" CausesValidation="false" Text="" CommandArgument="FueCalculado" OnClick="LbOrden_Click">
|
||||||
Calculado
|
Calculado
|
||||||
<asp:Literal ID="ImgFueCalculado" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgFueCalculado" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<th width="100px">
|
<th style="width:100px">
|
||||||
<asp:LinkButton ID="LbEstatus" runat="server" CausesValidation="false" Text="" CommandArgument="Estatus" OnClick="LbOrden_Click">
|
<asp:LinkButton ID="LbEstatus" runat="server" CausesValidation="false" Text="" CommandArgument="Estatus" OnClick="LbOrden_Click">
|
||||||
Estatus
|
Estatus
|
||||||
<asp:Literal ID="ImgEstatus" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
<asp:Literal ID="ImgEstatus" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||||
</asp:LinkButton>
|
</asp:LinkButton>
|
||||||
</th>
|
</th>
|
||||||
<%--<td width="100px"><asp:LinkButton ID="LbFechaIng" runat="server" CausesValidation="false" Text="Fecha Ing."></asp:LinkButton> <asp:ImageButton ID="ImgFechaIng" runat="server" CausesValidation="false" ImageUrl="/Imagenes/FlechasAbajo.gif" /></td>--%>
|
<%--<td style="width:100px"><asp:LinkButton ID="LbFechaIng" runat="server" CausesValidation="false" Text="Fecha Ing."></asp:LinkButton> <asp:ImageButton ID="ImgFechaIng" runat="server" CausesValidation="false" ImageUrl="/Imagenes/FlechasAbajo.gif" /></td>--%>
|
||||||
<%-- <td width="100px"><asp:LinkButton ID="LbUsuario" runat="server" CausesValidation="false" Text="Usuario"></asp:LinkButton> <asp:ImageButton ID="ImgUsuario" runat="server" CausesValidation="false" ImageUrl="/Imagenes/FlechasAbajo.gif" /></td>--%>
|
<%-- <td style="width:100px"><asp:LinkButton ID="LbUsuario" runat="server" CausesValidation="false" Text="Usuario"></asp:LinkButton> <asp:ImageButton ID="ImgUsuario" runat="server" CausesValidation="false" ImageUrl="/Imagenes/FlechasAbajo.gif" /></td>--%>
|
||||||
<th style="width: 10px;" colspan="2">Comandos</th>
|
<th style="width: 10px;" colspan="2">Comandos</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
@@ -1220,7 +1220,7 @@ public partial class Nomina_Finiquito : ClsPaginas
|
|||||||
|
|
||||||
if (continuar)
|
if (continuar)
|
||||||
{
|
{
|
||||||
dtconp = dtempleadosConceptos.FiltraParametros(string.Format("CvePersonal={0} AND Importe<>0", CvePersonal));
|
dtconp = dtempleadosConceptos.FiltraParametros(string.Format("CvePersonal={0} AND (Importe<>0 OR Valor <>0)", CvePersonal));
|
||||||
foreach (DataRow rcon in dtconp.Rows)
|
foreach (DataRow rcon in dtconp.Rows)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -2258,6 +2258,16 @@
|
|||||||
<asp:Label runat="server" AssociatedControlID="DdlTipoPeriodoCM">Tipo Periodo:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlTipoPeriodoCM">Tipo Periodo:</asp:Label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-3 bold">Salario Diario</div>
|
||||||
|
<div class="col-sm-3">
|
||||||
|
<asp:Label ID="LblSalarioDiarioSimula" runat="server"></asp:Label>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-3 bold"> </div>
|
||||||
|
<div class="col-sm-3">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<%--<table class="table table-striped table-hover Widthall GvConceptossimulador">
|
<%--<table class="table table-striped table-hover Widthall GvConceptossimulador">
|
||||||
|
|
||||||
</table>--%>
|
</table>--%>
|
||||||
|
|||||||
@@ -4803,7 +4803,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
|
|
||||||
if (continuar)
|
if (continuar)
|
||||||
{
|
{
|
||||||
dtconp = dtempleadosConceptos.FiltraParametros(string.Format("CvePersonal={0} AND Importe<>0", CvePersonal));
|
dtconp = dtempleadosConceptos.FiltraParametros(string.Format("CvePersonal={0} AND (Importe<>0 OR Valor <>0)", CvePersonal));
|
||||||
foreach (DataRow rcon in dtconp.Rows)
|
foreach (DataRow rcon in dtconp.Rows)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -5001,6 +5001,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
protected void LnkSimulador_Click(object sender, EventArgs e)
|
protected void LnkSimulador_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
GvConceptossimulador.DataSource = new DataTable();
|
GvConceptossimulador.DataSource = new DataTable();
|
||||||
|
LblSalarioDiarioSimula.Text = "";
|
||||||
GvConceptossimulador.DataBind();
|
GvConceptossimulador.DataBind();
|
||||||
DdlTipoPeriodoSim.SelectedValue = "1";
|
DdlTipoPeriodoSim.SelectedValue = "1";
|
||||||
RegistraScript("$('#DSimulador').modal()");
|
RegistraScript("$('#DSimulador').modal()");
|
||||||
@@ -5215,6 +5216,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
|
|
||||||
lconc.Add(SubTotales);
|
lconc.Add(SubTotales);
|
||||||
//lconc.Add(Totales);
|
//lconc.Add(Totales);
|
||||||
|
LblSalarioDiarioSimula.Text = string.Format("${0:N4}", dtempleados.SUM("SalarioDiario", string.Format("CvePersonal = {0}", 1)));
|
||||||
GvConceptossimulador.DataSource = lconc;
|
GvConceptossimulador.DataSource = lconc;
|
||||||
GvConceptossimulador.DataBind();
|
GvConceptossimulador.DataBind();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user