movtos permanentes
This commit is contained in:
@@ -39,6 +39,16 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
||||
get { return ViewState["RcveConcepto"] != null ? (int)ViewState["RcveConcepto"] : 0; }
|
||||
set { ViewState["RcveConcepto"] = value; }
|
||||
}
|
||||
private string fechaInicio
|
||||
{
|
||||
get { return TxtRpdFechaInicio.Text; }
|
||||
set { TxtRpdFechaInicio.Text = value; }
|
||||
}
|
||||
private string fechaFin
|
||||
{
|
||||
get { return TxtRpdFechaFin.Text; }
|
||||
set { TxtRpdFechaFin.Text = value; }
|
||||
}
|
||||
#endregion
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -49,7 +59,8 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
||||
RcveSaldo = Request["cveSaldo"] != null ? Convert.ToInt32(Request["cveSaldo"]) : -1;
|
||||
RcveEstatus = Request["cveEstatus"] != null ? Convert.ToInt32(Request["cveEstatus"]) : -1;
|
||||
RcveConcepto = Request["cveConcepto"] != null ? Convert.ToInt32(Request["cveConcepto"]) : -1;
|
||||
|
||||
fechaInicio = DateTime.Now.ToString("01/MM/yyyy");
|
||||
fechaFin=DateTime.Now.ToString("01/MM/yyyy").ToDateTime().AddMonths(1).AddDays(1).ToString("01/MM/yyyy");
|
||||
CargaCombos();
|
||||
cargardatos();
|
||||
|
||||
@@ -84,7 +95,9 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
||||
{
|
||||
using (ClsNominas ObjGetM = new ClsNominas())
|
||||
{
|
||||
ObjGetM.GetMovtoPermanenteRep(RcvePersonal, UsuarioActual.CveEmpresa, RcveTipo, RcveSaldo, RcveEstatus, RcveConcepto);
|
||||
//string fechaInicio = "";
|
||||
//string fechaFin = "";
|
||||
ObjGetM.GetMovtoPermanenteRepFechas(RcvePersonal, UsuarioActual.CveEmpresa, RcveTipo, RcveSaldo, RcveEstatus, RcveConcepto, fechaInicio, fechaFin);
|
||||
GVGetMovtoPermanenteRep.DataSource = ObjGetM.DtResultados;
|
||||
GVGetMovtoPermanenteRep.DataBind();
|
||||
|
||||
@@ -121,7 +134,7 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
||||
e.Row.Attributes.Add("data-cvepersonal", cvepersonal);
|
||||
if (cvetipoValue == "0")
|
||||
{
|
||||
e.Row.Cells[1].Attributes.Add("colspan", "7");
|
||||
//e.Row.Cells[1].Attributes.Add("colspan", "7");
|
||||
cssclass = string.Format("{0} cvetipo0", cssclass);
|
||||
}
|
||||
e.Row.CssClass = cssclass;
|
||||
|
||||
Reference in New Issue
Block a user