movimeintos permanentes
This commit is contained in:
@@ -325,7 +325,8 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
{
|
||||
|
||||
if (!IsPostBack)
|
||||
{
|
||||
{
|
||||
cargarutaempresa();
|
||||
{
|
||||
|
||||
DtNomOrden = new DataTable();
|
||||
@@ -474,6 +475,15 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
}
|
||||
}
|
||||
private void cargarutaempresa()
|
||||
{
|
||||
string rutaCBBDir = String.Format("{0}CBB\\Nomina\\", UsuarioActual.Empresa.Ruta);
|
||||
|
||||
if (!Directory.Exists(rutaCBBDir))
|
||||
{
|
||||
Directory.CreateDirectory(rutaCBBDir);
|
||||
}
|
||||
}
|
||||
#region Filtros
|
||||
private void cargaEjercicios()
|
||||
{
|
||||
@@ -2109,7 +2119,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
{
|
||||
column++;
|
||||
libro.Cell(1, column).Value = row["CveConcepto"].ToString();
|
||||
libro.Cell(FilaConceptos, column).Value = "N";
|
||||
libro.Cell(FilaConceptos, column).Value = "S";
|
||||
libro.Cell(3, column).Value = row["Concepto"].ToString();
|
||||
libro.Cell(4, column).Value = row["Codigo"].ToString();
|
||||
libro.Column(column).Width = 15;
|
||||
@@ -2124,7 +2134,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
{
|
||||
column++;
|
||||
libro.Cell(1, column).Value = row["CveConcepto"].ToString();
|
||||
libro.Cell(FilaConceptos, column).Value = "N";
|
||||
libro.Cell(FilaConceptos, column).Value = "S";
|
||||
libro.Cell(3, column).Value = row["Concepto"].ToString();
|
||||
libro.Cell(4, column).Value = row["Codigo"].ToString();
|
||||
libro.Column(column).Width = 15;
|
||||
@@ -2139,7 +2149,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
{
|
||||
column++;
|
||||
libro.Cell(1, column).Value = row["CveConcepto"].ToString();
|
||||
libro.Cell(FilaConceptos, column).Value = "N";
|
||||
libro.Cell(FilaConceptos, column).Value = "S";
|
||||
libro.Cell(3, column).Value = row["Concepto"].ToString();
|
||||
libro.Cell(4, column).Value = row["Codigo"].ToString();
|
||||
libro.Column(column).Width = 15;
|
||||
|
||||
Reference in New Issue
Block a user