Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -3129,11 +3129,11 @@ Public Class ClsBancos
|
|||||||
SqlAdapter.Fill(Data)
|
SqlAdapter.Fill(Data)
|
||||||
Retorno = True
|
Retorno = True
|
||||||
|
|
||||||
Catch Ex1 As SqlException
|
Catch Ex1 As SqlException
|
||||||
If Ex1.Message.Contains("Número: 2627;") Or Ex1.Message.Contains("Número: 2601;") Then
|
If Ex1.Message.Contains("Número: 2627;") Or Ex1.Message.Contains("Número: 2601;") Then
|
||||||
Alert("Ya existe un registro con el mismo Folio", TipoMensaje.MsgAdvertencia)
|
Alert("Ya existe un registro con el mismo Folio", TipoMensaje.MsgAdvertencia)
|
||||||
Else
|
Else
|
||||||
Me.OnError("Ocurrió un error al guardar los cambios", Ex1, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
Me.OnError("Ocurrió un error al guardar los cambios", Ex1, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
OnError("Ocurrió un error al actualizar El movimiento Bancario", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
OnError("Ocurrió un error al actualizar El movimiento Bancario", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo())
|
||||||
@@ -4760,4 +4760,25 @@ Public Class ClsBancos
|
|||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
#Region "reportes"
|
||||||
|
Public Function GetPagosNoBancarios(CveEmpresa As Integer, Optional CveCliente As Integer = -1, Optional CveProveedor As Integer = -1, Optional CvePersonal As Integer = -1) As Boolean
|
||||||
|
Dim Retorno As Boolean = False
|
||||||
|
DataAdapter("PA_Banc_PagosNoBancarios")
|
||||||
|
|
||||||
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
|
.Add("@CveCliente", SqlDbType.Int).Value = CveCliente
|
||||||
|
.Add("@CveProveedor", SqlDbType.Int).Value = CveProveedor
|
||||||
|
.Add("@CvePersonal", SqlDbType.Int).Value = CvePersonal
|
||||||
|
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||||
|
End With
|
||||||
|
|
||||||
|
Try
|
||||||
|
SqlAdapter.Fill(Data)
|
||||||
|
Retorno = True
|
||||||
|
Catch ex As Exception
|
||||||
|
OnError("Ocurrió un error al obtener los pagos no bancarios.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo)
|
||||||
|
End Try
|
||||||
|
Return Retorno
|
||||||
|
End Function
|
||||||
|
#End Region
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1188,13 +1188,12 @@ Public Class ClsMovimientos
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Public Function GetCxPDetalle(FechaI As String, FechaF As String, CveProveedor As Integer, CveProveedorClasificacion As Integer,
|
Public Function GetCxPDetalle(FechaI As String, FechaF As String, CveProveedor As Integer, CveProveedorClasificacion As Integer, CveProveedorSucursal As Integer, CveUsuario As Integer,
|
||||||
CveProveedorSucursal As Integer, CveUsuario As Integer,
|
CveUsuarioResponsable As Integer, Anio As Integer, Mes As Integer, AnioMes As String, CveMoneda As Integer, CveSubProyecto As Integer,
|
||||||
CveUsuarioResponsable As Integer,
|
CveEstatusFactura As Integer, Fecha As String, Agrupador As Integer, Opcion As String, CveEmpresa As Integer, CveSucursal As Integer,
|
||||||
Anio As Integer, Mes As Integer, AnioMes As String, CveMoneda As Integer, CveSubProyecto As Integer, CveEstatusFactura As Integer,
|
TipoCambio As Integer, Optional TCEspecifico As Double = -1, Optional FechaVI As String = "-1", Optional FechaVF As String = "1",
|
||||||
Fecha As String, Agrupador As Integer, Opcion As String, CveEmpresa As Integer, CveSucursal As Integer, TipoCambio As Integer, Optional TCEspecifico As Double = -1,
|
Optional FechaCorte As Date = Nothing, Optional CveUsuarioConsulta As Integer = -1, Optional CveTipoProveedor As Integer = -1,
|
||||||
Optional FechaVI As String = "-1", Optional FechaVF As String = "1", Optional FechaCorte As Date = Nothing,
|
Optional Comprobaciones As Integer = -1, Optional AplicaNC As Integer = -1) As Boolean
|
||||||
Optional CveUsuarioConsulta As Integer = -1, Optional CveTipoProveedor As Integer = -1, Optional Comprobaciones As Integer = -1) As Boolean
|
|
||||||
|
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
If FechaCorte = Nothing Then FechaCorte = Now
|
If FechaCorte = Nothing Then FechaCorte = Now
|
||||||
@@ -1227,6 +1226,7 @@ Public Class ClsMovimientos
|
|||||||
.Add("@CveUsuarioConsulta", SqlDbType.Int).Value = CveUsuarioConsulta
|
.Add("@CveUsuarioConsulta", SqlDbType.Int).Value = CveUsuarioConsulta
|
||||||
.Add("@CveTipoProveedor", SqlDbType.Int).Value = CveTipoProveedor
|
.Add("@CveTipoProveedor", SqlDbType.Int).Value = CveTipoProveedor
|
||||||
.Add("@Comprobaciones", SqlDbType.Int).Value = Comprobaciones
|
.Add("@Comprobaciones", SqlDbType.Int).Value = Comprobaciones
|
||||||
|
.Add("@AplicaNC", SqlDbType.Int).Value = AplicaNC
|
||||||
End With
|
End With
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ Public Class ClsProductosServicios
|
|||||||
CveUnidadMedida = Data.Rows(0)("CveUnidadMedida").ToString.ToEntero
|
CveUnidadMedida = Data.Rows(0)("CveUnidadMedida").ToString.ToEntero
|
||||||
CveSATPS = Data.Rows(0)("CveSATPS").ToString.ToEntero
|
CveSATPS = Data.Rows(0)("CveSATPS").ToString.ToEntero
|
||||||
Me.SATClavePS = Data.Rows(0)("SATClavePS").ToString
|
Me.SATClavePS = Data.Rows(0)("SATClavePS").ToString
|
||||||
SATDescripcion = Data.Rows(0)("SATDescripcion").ToString
|
'SATDescripcion = Data.Rows(0)("SATDescripcion").ToString
|
||||||
Me.CveTipoPS = Data.Rows(0)("CveTipoPS").ToString.ToEntero
|
Me.CveTipoPS = Data.Rows(0)("CveTipoPS").ToString.ToEntero
|
||||||
Me.Codigo = Data.Rows(0)("Codigo").ToString
|
Me.Codigo = Data.Rows(0)("Codigo").ToString
|
||||||
Me.Codigo2 = Data.Rows(0)("Codigo2").ToString
|
Me.Codigo2 = Data.Rows(0)("Codigo2").ToString
|
||||||
@@ -260,7 +260,8 @@ Public Class ClsProductosServicios
|
|||||||
Estado2 = Data.Rows(0)("Estado2").ToString.ToEntero
|
Estado2 = Data.Rows(0)("Estado2").ToString.ToEntero
|
||||||
Fecha = Data.Rows(0)("Fecha").ToString.ToDate
|
Fecha = Data.Rows(0)("Fecha").ToString.ToDate
|
||||||
Usuario = Data.Rows(0)("Usuario").ToString
|
Usuario = Data.Rows(0)("Usuario").ToString
|
||||||
AlmacenSeccion = Data.Rows(0)("AlmacenSeccion").ToString
|
|
||||||
|
'AlmacenSeccion = Data.Rows(0)("AlmacenSeccion").ToString
|
||||||
AplicaIEPS = (Data.Rows(0)("AplicaIEPS").ToString) = "True"
|
AplicaIEPS = (Data.Rows(0)("AplicaIEPS").ToString) = "True"
|
||||||
IEPSGrabaIVA = (Data.Rows(0)("IEPSGrabaIVA").ToString) = "True"
|
IEPSGrabaIVA = (Data.Rows(0)("IEPSGrabaIVA").ToString) = "True"
|
||||||
IEPSPorcentaje = Data.Rows(0)("IEPSPorcentaje").ToString.ToDouble
|
IEPSPorcentaje = Data.Rows(0)("IEPSPorcentaje").ToString.ToDouble
|
||||||
@@ -282,7 +283,7 @@ Public Class ClsProductosServicios
|
|||||||
|
|
||||||
Me.CveEmpresa = Data.Rows(0)("CveEmpresa").ToString.ToEntero
|
Me.CveEmpresa = Data.Rows(0)("CveEmpresa").ToString.ToEntero
|
||||||
CveMetodoInventario = Data.Rows(0)("Inv_CveMetodoInventario").ToString.ToEntero
|
CveMetodoInventario = Data.Rows(0)("Inv_CveMetodoInventario").ToString.ToEntero
|
||||||
VentaMinima = Data.Rows(0)("VentaMinima").ToString.ToDecimal
|
'VentaMinima = Data.Rows(0)("VentaMinima").ToString.ToDecimal
|
||||||
CveMoneda = Data.Rows(0)("CveMoneda").ToString.ToEntero
|
CveMoneda = Data.Rows(0)("CveMoneda").ToString.ToEntero
|
||||||
RetISR = Data.Rows(0)("RetISR").ToString.ToDouble
|
RetISR = Data.Rows(0)("RetISR").ToString.ToDouble
|
||||||
|
|
||||||
|
|||||||
@@ -429,22 +429,22 @@ Public Class WS_PuntoVenta
|
|||||||
Return Respuesta
|
Return Respuesta
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
'<WebMethod()>
|
<WebMethod()>
|
||||||
'Public Function GetSucursales(CveEmpresa As Integer) As RespuestaWS
|
Public Function GetSubProyectos(CveEmpresa As Integer) As RespuestaWS
|
||||||
' Dim objSucursales As New ClsSucursales
|
Dim objProyecto As New ClsSubProyectos
|
||||||
' Dim Respuesta As New RespuestaWS
|
Dim Respuesta As New RespuestaWS
|
||||||
|
|
||||||
' If objSucursales.GetSucursales() Then
|
If objProyecto.GetSubProyectos(CveEmpresa) Then
|
||||||
' Respuesta.Datos = objSucursales.DtResultados.FiltraParametros(String.Format("CveEmpresa = {0}", CveEmpresa))
|
Respuesta.Datos = objProyecto.DtResultados
|
||||||
' Respuesta.Datos.TableName = "Resultados"
|
Respuesta.Datos.TableName = "Resultados"
|
||||||
' Respuesta.HuboError = False
|
Respuesta.HuboError = False
|
||||||
' Else
|
Else
|
||||||
' Respuesta.Descripcion = "HUBO UN ERROR"
|
Respuesta.Descripcion = "HUBO UN ERROR"
|
||||||
' End If
|
End If
|
||||||
|
|
||||||
' objSucursales.Dispose()
|
objProyecto.Dispose()
|
||||||
' Return Respuesta
|
Return Respuesta
|
||||||
'End Function
|
End Function
|
||||||
|
|
||||||
<WebMethod()>
|
<WebMethod()>
|
||||||
Public Function GetClientes(CveEmpresa As Integer) As RespuestaWS
|
Public Function GetClientes(CveEmpresa As Integer) As RespuestaWS
|
||||||
@@ -478,7 +478,7 @@ Public Class WS_PuntoVenta
|
|||||||
objFolios.Dispose()
|
objFolios.Dispose()
|
||||||
Return Respuesta
|
Return Respuesta
|
||||||
End Function
|
End Function
|
||||||
|
'Candiddato a borrar
|
||||||
'COMENTADO IPP: CAMBIO LA FORMA DE USAR LAS PROMOCIONES | 2 NOVIEMBRE 2016
|
'COMENTADO IPP: CAMBIO LA FORMA DE USAR LAS PROMOCIONES | 2 NOVIEMBRE 2016
|
||||||
'<WebMethod()>
|
'<WebMethod()>
|
||||||
'Public Function GetVta_PromocionesDetalle(CvePS As Integer, Fecha As String, CveSucursal As Integer, CveEmpresa As Integer) As RespuestaWS
|
'Public Function GetVta_PromocionesDetalle(CvePS As Integer, Fecha As String, CveSucursal As Integer, CveEmpresa As Integer) As RespuestaWS
|
||||||
@@ -498,11 +498,11 @@ Public Class WS_PuntoVenta
|
|||||||
'End Function
|
'End Function
|
||||||
|
|
||||||
<WebMethod()>
|
<WebMethod()>
|
||||||
Public Function GetVta_Promociones(Fecha As String, CveEmpresa As Integer) As RespuestaWS
|
Public Function GetVta_Promociones(Fecha As String, CveSubProyecto As Integer, CveEmpresa As Integer) As RespuestaWS
|
||||||
Dim objPromociones As New ClsVentas
|
Dim objPromociones As New ClsVentas
|
||||||
Dim Respuesta As New RespuestaWS
|
Dim Respuesta As New RespuestaWS
|
||||||
|
|
||||||
If objPromociones.GetPromociones(-1, Fecha, -1, -1, 1, CveEmpresa, -1) Then
|
If objPromociones.GetPromociones(-1, Fecha, -1, -1, 1, CveEmpresa, CveSubProyecto) Then
|
||||||
Respuesta.Datos = objPromociones.DtResultados
|
Respuesta.Datos = objPromociones.DtResultados
|
||||||
Respuesta.Datos.TableName = "Resultados"
|
Respuesta.Datos.TableName = "Resultados"
|
||||||
Respuesta.HuboError = False
|
Respuesta.HuboError = False
|
||||||
@@ -618,39 +618,39 @@ Public Class WS_PuntoVenta
|
|||||||
Return Respuesta
|
Return Respuesta
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
'<WebMethod()>
|
<WebMethod()>
|
||||||
''Public Function GetProductosServiciosCaracteristicas(CveEmpresa As Integer, CveSucursal As Integer) As RespuestaWS
|
Public Function GetProductosServiciosCaracteristicas(CveEmpresa As Integer, CveSubProyecto As Integer) As RespuestaWS
|
||||||
'' Dim objPSCaracteristicas As New ClsGralProductosServiciosCaracteristicas
|
Dim objPSCaracteristicas As New ClsGralProductosServiciosCaracteristicas
|
||||||
'' Dim Respuesta As New RespuestaWS
|
Dim Respuesta As New RespuestaWS
|
||||||
|
|
||||||
'' If objPSCaracteristicas.GetProductosServiciosCaracteristicas(CveEmpresa, CveSucursal) Then
|
If objPSCaracteristicas.GetProductosServiciosCaracteristicas(CveEmpresa, CveSubProyecto) Then
|
||||||
'' Respuesta.Datos = objPSCaracteristicas.DtResultados
|
Respuesta.Datos = objPSCaracteristicas.DtResultados
|
||||||
'' Respuesta.Datos.TableName = "Resultados"
|
Respuesta.Datos.TableName = "Resultados"
|
||||||
'' Respuesta.HuboError = False
|
Respuesta.HuboError = False
|
||||||
'' Else
|
Else
|
||||||
'' Respuesta.Descripcion = "HUBO UN ERROR"
|
Respuesta.Descripcion = "HUBO UN ERROR"
|
||||||
'' End If
|
End If
|
||||||
|
|
||||||
'' objPSCaracteristicas.Dispose()
|
objPSCaracteristicas.Dispose()
|
||||||
'' Return Respuesta
|
Return Respuesta
|
||||||
''End Function
|
End Function
|
||||||
|
|
||||||
'<WebMethod()>
|
<WebMethod()>
|
||||||
''Public Function GetProductosServiciosCaracteristicasOpciones(CveEmpresa As Integer, CveSucursal As Integer) As RespuestaWS
|
Public Function GetProductosServiciosCaracteristicasOpciones(CveEmpresa As Integer, CveSubProyecto As Integer) As RespuestaWS
|
||||||
'' Dim objPSCaracteristicas As New ClsGralProductosServiciosCaracteristicas
|
Dim objPSCaracteristicas As New ClsGralProductosServiciosCaracteristicas
|
||||||
'' Dim Respuesta As New RespuestaWS
|
Dim Respuesta As New RespuestaWS
|
||||||
|
|
||||||
'' If objPSCaracteristicas.GetProductosServiciosCaracteristicasOpciones(CveEmpresa, CveSucursal) Then
|
If objPSCaracteristicas.GetProductosServiciosCaracteristicasOpciones(CveEmpresa, CveSubProyecto) Then
|
||||||
'' Respuesta.Datos = objPSCaracteristicas.DtResultados
|
Respuesta.Datos = objPSCaracteristicas.DtResultados
|
||||||
'' Respuesta.Datos.TableName = "Resultados"
|
Respuesta.Datos.TableName = "Resultados"
|
||||||
'' Respuesta.HuboError = False
|
Respuesta.HuboError = False
|
||||||
'' Else
|
Else
|
||||||
'' Respuesta.Descripcion = "HUBO UN ERROR"
|
Respuesta.Descripcion = "HUBO UN ERROR"
|
||||||
'' End If
|
End If
|
||||||
|
|
||||||
'' objPSCaracteristicas.Dispose()
|
objPSCaracteristicas.Dispose()
|
||||||
'' Return Respuesta
|
Return Respuesta
|
||||||
''End Function
|
End Function
|
||||||
|
|
||||||
<WebMethod()>
|
<WebMethod()>
|
||||||
Public Function GetProductosServiciosPaquetes(CveEmpresa As Integer) As RespuestaWS
|
Public Function GetProductosServiciosPaquetes(CveEmpresa As Integer) As RespuestaWS
|
||||||
@@ -736,18 +736,28 @@ Public Class WS_PuntoVenta
|
|||||||
|
|
||||||
<WebMethod()>
|
<WebMethod()>
|
||||||
Public Function GetUsuarios(CveEmpresa As Integer) As RespuestaWS
|
Public Function GetUsuarios(CveEmpresa As Integer) As RespuestaWS
|
||||||
Dim objUsuarios As New ClsSisUsuarios
|
|
||||||
Dim Respuesta As New RespuestaWS
|
Dim Respuesta As New RespuestaWS
|
||||||
|
Respuesta.HuboError = False
|
||||||
|
|
||||||
If objUsuarios.GetUsuarios(-1) Then
|
Using objUsuarios As New ClsSisUsuarios
|
||||||
Respuesta.Datos = objUsuarios.DtResultados.FiltraParametros(String.Format("CveEmpresa = {0} AND Estatus = 1 AND CveSucursal > 0", CveEmpresa.ToString))
|
|
||||||
Respuesta.Datos.TableName = "Resultados"
|
If objUsuarios.GetUsuarios(-1) Then
|
||||||
Respuesta.HuboError = False
|
Respuesta.Datos = objUsuarios.DtResultados.FiltraParametros(String.Format("CveEmpresa = {0} AND Estatus = 1 ", CveEmpresa))
|
||||||
Else
|
Respuesta.Datos.TableName = "Resultados"
|
||||||
Respuesta.Descripcion = "HUBO UN ERROR"
|
Else
|
||||||
End If
|
Respuesta.HuboError = True
|
||||||
|
Respuesta.Descripcion = "HUBO UN ERROR"
|
||||||
|
End If
|
||||||
|
End Using
|
||||||
|
Using objsubproy As New ClsSubProyectos
|
||||||
|
If objsubproy.GetSubProyectosUsuarios(CveEmpresa:=CveEmpresa) Then
|
||||||
|
|
||||||
|
Respuesta.Datos2 = objsubproy.DtResultados
|
||||||
|
Respuesta.Datos2.TableName = "Resultados"
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Using
|
||||||
|
|
||||||
objUsuarios.Dispose()
|
|
||||||
Return Respuesta
|
Return Respuesta
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|||||||
@@ -74,21 +74,38 @@ Public Class wsSIG
|
|||||||
Dim Retorno As UsuarioWs = Nothing
|
Dim Retorno As UsuarioWs = Nothing
|
||||||
Dim ArrCadena As String() = DecriptaCadena(Cadena, "AES")
|
Dim ArrCadena As String() = DecriptaCadena(Cadena, "AES")
|
||||||
|
|
||||||
If ArrCadena IsNot Nothing AndAlso ArrCadena.Count = 5 Then
|
If ArrCadena IsNot Nothing AndAlso ArrCadena.Count.Contiene(New Integer() {5, 7}) Then
|
||||||
Dim Usuario, Contrasenia, IMEI, Version As String
|
Dim Usuario, Contrasenia, IMEI, Version As String
|
||||||
|
Dim CveSubProyecto As Integer = 0
|
||||||
|
Dim reqCveSubProyecto As Integer = -1
|
||||||
|
Dim CveEmpresa As Integer = -1
|
||||||
|
Dim validatesubproyecto As Boolean = False
|
||||||
Dim Fecha As DateTime
|
Dim Fecha As DateTime
|
||||||
Usuario = ArrCadena(0) : Contrasenia = ArrCadena(1) : IMEI = ArrCadena(2) : Version = ArrCadena(3) : Fecha = ArrCadena(4).ToString.ToDate
|
Usuario = ArrCadena(0) : Contrasenia = ArrCadena(1) : IMEI = ArrCadena(2) : Version = ArrCadena(3) : Fecha = ArrCadena(4).ToString.ToDate
|
||||||
|
If ArrCadena.Length > 6 Then
|
||||||
|
reqCveSubProyecto = ArrCadena(5).ToString.ToEntero()
|
||||||
|
CveEmpresa = ArrCadena(6).ToString.ToEntero()
|
||||||
|
validatesubproyecto = True
|
||||||
|
End If
|
||||||
'si la fecha que me envía es de cuando menos hace un minuto, se permite accesar, para que no se copie ese parámetro y se esté recuperando información "medida de seguridad"
|
'si la fecha que me envía es de cuando menos hace un minuto, se permite accesar, para que no se copie ese parámetro y se esté recuperando información "medida de seguridad"
|
||||||
If Fecha > Now.AddSeconds(TiempoValido) Then
|
If Fecha > Now.AddSeconds(TiempoValido) Then
|
||||||
|
|
||||||
Dim ttDato As Usuario
|
Dim ttDato As Usuario = Nothing
|
||||||
Dim tUsuario As New ClsSisUsuarios
|
Using tUsuario As New ClsSisUsuarios()
|
||||||
|
ttDato = tUsuario.ValidaUsuario(Usuario, Encripta(Contrasenia), IMEI, CveEmpresa)
|
||||||
ttDato = tUsuario.ValidaUsuario(Usuario, Encripta(Contrasenia), IMEI)
|
End Using
|
||||||
|
If validatesubproyecto Then
|
||||||
|
|
||||||
|
Using objsubproy As New ClsSubProyectos()
|
||||||
|
If objsubproy.GetSubProyectosUsuarios(CveUsuario:=ttDato.CveUsuario, CveSubProyecto:=reqCveSubProyecto) Then
|
||||||
|
If objsubproy.DtResultados.FiltroPrimero(String.Format("CveSubProyecto={0}", reqCveSubProyecto)) IsNot Nothing Then
|
||||||
|
CveSubProyecto = reqCveSubProyecto
|
||||||
|
End If
|
||||||
|
End If
|
||||||
|
End Using
|
||||||
|
End If
|
||||||
If ttDato IsNot Nothing Then
|
If ttDato IsNot Nothing Then
|
||||||
Retorno = New UsuarioWs
|
Retorno = New UsuarioWs()
|
||||||
|
|
||||||
Retorno.CveUsuario = ttDato.CveUsuario
|
Retorno.CveUsuario = ttDato.CveUsuario
|
||||||
'Retorno.Usuario = ttDato.Usuario
|
'Retorno.Usuario = ttDato.Usuario
|
||||||
@@ -98,13 +115,12 @@ Public Class wsSIG
|
|||||||
Retorno.CveEmpresa = ttDato.CveEmpresa
|
Retorno.CveEmpresa = ttDato.CveEmpresa
|
||||||
'Retorno.Empresa = ttDato.NombreEmpresa
|
'Retorno.Empresa = ttDato.NombreEmpresa
|
||||||
Retorno.CveVendedor = ttDato.CveVendedor
|
Retorno.CveVendedor = ttDato.CveVendedor
|
||||||
Retorno.CveSucursal = ttDato.CveSucursal
|
Retorno.CveSucursal = CveSubProyecto
|
||||||
'Retorno.Contraseña = ttDato.Contraseña
|
'Retorno.Contraseña = ttDato.Contraseña
|
||||||
'Retorno.IMEI = IMEI
|
'Retorno.IMEI = IMEI
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
tUsuario.Dispose()
|
|
||||||
Else
|
Else
|
||||||
Cadena.GuardaLog()
|
Cadena.GuardaLog()
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -199,10 +199,10 @@ Partial Class PopUpVerFactura
|
|||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#Region "U S U A R I O - T O K E N"
|
#Region "U S U A R I O - T O K E N"
|
||||||
|
|
||||||
Private Function ValidaUsuarioSistema(CveEmpresa As Integer, Optional CveUsuario As Integer = 100) As Usuario
|
Private Function ValidaUsuarioSistema(CveEmpresa As Integer, Optional CveUsuario As Integer = 100) As Usuario
|
||||||
|
|
||||||
Dim UsuarioToken As Usuario = Nothing
|
Dim UsuarioToken As Usuario = Nothing
|
||||||
@@ -236,9 +236,9 @@ Partial Class PopUpVerFactura
|
|||||||
UsuarioToken.Empresa = ObjEmpresa.Empresa
|
UsuarioToken.Empresa = ObjEmpresa.Empresa
|
||||||
End If
|
End If
|
||||||
ObjEmpresa.Dispose()
|
ObjEmpresa.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
Private Sub SeleccionaReporte(UrlParametros As Hashtable)
|
Private Sub SeleccionaReporte(UrlParametros As Hashtable)
|
||||||
|
|
||||||
'DESCARGA COMPROBANTE
|
'DESCARGA COMPROBANTE
|
||||||
@@ -493,10 +493,10 @@ Partial Class PopUpVerFactura
|
|||||||
URLParametros.Add(P2(0).ToString.ToUpper, P2(1))
|
URLParametros.Add(P2(0).ToString.ToUpper, P2(1))
|
||||||
Next
|
Next
|
||||||
Return URLParametros
|
Return URLParametros
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
#Region "OP = CORT - IMPRIMIR CORTE"
|
#Region "OP = CORT - IMPRIMIR CORTE"
|
||||||
|
|
||||||
Private Sub ImprimeCorte(CveCorte As Integer, Formato As String)
|
Private Sub ImprimeCorte(CveCorte As Integer, Formato As String)
|
||||||
Dim ObjVenta As New ClsVentas
|
Dim ObjVenta As New ClsVentas
|
||||||
Dim ObjPuntoVenta As New ClsPuntoVenta
|
Dim ObjPuntoVenta As New ClsPuntoVenta
|
||||||
@@ -541,10 +541,10 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirPDF("Empresas/Grales/Formatos/RepCortes.rdlc", lrds, params, "ReporteCortes", Formato)
|
ImprimirPDF("Empresas/Grales/Formatos/RepCortes.rdlc", lrds, params, "ReporteCortes", Formato)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region " OP = FACTURA - IMPRIME COMPRA"
|
#Region " OP = FACTURA - IMPRIME COMPRA"
|
||||||
Private Sub DescargaComprobante(Parametros As Hashtable)
|
Private Sub DescargaComprobante(Parametros As Hashtable)
|
||||||
If Parametros("COMPROBANTE") IsNot Nothing Then
|
If Parametros("COMPROBANTE") IsNot Nothing Then
|
||||||
@@ -583,9 +583,9 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
Archivo = Nothing
|
Archivo = Nothing
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP DesXmlVIA- DESCARGAR XML DE VIATICOS"
|
#Region "OP DesXmlVIA- DESCARGAR XML DE VIATICOS"
|
||||||
Private Sub DescargaXMLViaticos(Parametros As Hashtable)
|
Private Sub DescargaXMLViaticos(Parametros As Hashtable)
|
||||||
If Parametros("SERIEFOLIO") IsNot Nothing AndAlso Parametros("SERIEFOLIO").ToString <> "" Then
|
If Parametros("SERIEFOLIO") IsNot Nothing AndAlso Parametros("SERIEFOLIO").ToString <> "" Then
|
||||||
@@ -605,10 +605,10 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
Archivo = Nothing
|
Archivo = Nothing
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP DesXmlNom- DESCARGAR XML DE UTILIDADES"
|
#Region "OP DesXmlNom- DESCARGAR XML DE UTILIDADES"
|
||||||
Private Sub DescargaXMLUtilidades(Parametros As Hashtable)
|
Private Sub DescargaXMLUtilidades(Parametros As Hashtable)
|
||||||
If Parametros("SERIEFOLIO") IsNot Nothing AndAlso Parametros("SERIEFOLIO").ToString <> "" Then
|
If Parametros("SERIEFOLIO") IsNot Nothing AndAlso Parametros("SERIEFOLIO").ToString <> "" Then
|
||||||
@@ -628,9 +628,9 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
Archivo = Nothing
|
Archivo = Nothing
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'CONG' - IMPRIME GASTO DE CONTRATO"
|
#Region "OP = 'CONG' - IMPRIME GASTO DE CONTRATO"
|
||||||
Private Sub ImprimeGastoContrato(CveContrato As Integer, CveContratoGasto As Integer)
|
Private Sub ImprimeGastoContrato(CveContrato As Integer, CveContratoGasto As Integer)
|
||||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||||
@@ -672,10 +672,10 @@ Partial Class PopUpVerFactura
|
|||||||
params.Add(New ReportParameter("LogoPath", ""))
|
params.Add(New ReportParameter("LogoPath", ""))
|
||||||
End If
|
End If
|
||||||
ImprimirPDF("Empresas/Grales/Formatos/ContratoGasto.rdlc", dt, params, $"{Nombre}-Gastos", Formato:="PDF")
|
ImprimirPDF("Empresas/Grales/Formatos/ContratoGasto.rdlc", dt, params, $"{Nombre}-Gastos", Formato:="PDF")
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
|
||||||
#Region "OP = 'CIC' - IMPRIME FORMATO CICOVISA"
|
#Region "OP = 'CIC' - IMPRIME FORMATO CICOVISA"
|
||||||
Private Sub ImprimeFormatoCICOVISA(CveVenta As Integer)
|
Private Sub ImprimeFormatoCICOVISA(CveVenta As Integer)
|
||||||
If CveVenta > 0 Then
|
If CveVenta > 0 Then
|
||||||
@@ -712,10 +712,10 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirPDF("Empresas/Grales/Formatos/Cicovisa.rdlc", Dt, params, String.Format("Formato Cicovisa -{0}", Now.ToDateTime.ToShortDateString))
|
ImprimirPDF("Empresas/Grales/Formatos/Cicovisa.rdlc", Dt, params, String.Format("Formato Cicovisa -{0}", Now.ToDateTime.ToShortDateString))
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'CARPO' - IMPRIME FORMATO CARTA PORTE"
|
#Region "OP = 'CARPO' - IMPRIME FORMATO CARTA PORTE"
|
||||||
Private Sub ImprimeFormatoCartaPorte(CveMovimiento As Integer)
|
Private Sub ImprimeFormatoCartaPorte(CveMovimiento As Integer)
|
||||||
If CveMovimiento > 0 Then
|
If CveMovimiento > 0 Then
|
||||||
@@ -788,7 +788,7 @@ Partial Class PopUpVerFactura
|
|||||||
ResponsableRecibio = Dr("ResponsableRecibio").ToString
|
ResponsableRecibio = Dr("ResponsableRecibio").ToString
|
||||||
Identificacion = Dr("Identificacion").ToString
|
Identificacion = Dr("Identificacion").ToString
|
||||||
Domicilio = Dr("Domicilio").ToString
|
Domicilio = Dr("Domicilio").ToString
|
||||||
Telefono = Dr("Telefono").ToString
|
Telefono = Dr("Telefono1").ToString
|
||||||
Ciudad = Dr("Ciudad").ToString
|
Ciudad = Dr("Ciudad").ToString
|
||||||
Licencia = Dr("Licencia").ToString
|
Licencia = Dr("Licencia").ToString
|
||||||
End If
|
End If
|
||||||
@@ -813,7 +813,7 @@ Partial Class PopUpVerFactura
|
|||||||
params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa))
|
params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa))
|
||||||
params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
|
params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
|
||||||
params.Add(New ReportParameter("FechaImpresion", Now.ToDateTime.ToShortDateString))
|
params.Add(New ReportParameter("FechaImpresion", Now.ToDateTime.ToShortDateString))
|
||||||
params.Add(New ReportParameter("DomicilioFiscal", $"{UsuarioActual.Empresa.Direccion}, {UsuarioActual.Empresa.Colonia}, {UsuarioActual.Empresa.Localidad}, {UsuarioActual.Empresa.Estado}, Tel. {UsuarioActual.Empresa.Telefono}"))
|
params.Add(New ReportParameter("DomicilioFiscal", $"{UsuarioActual.Empresa.Direccion}, {UsuarioActual.Empresa.Colonia}, {UsuarioActual.Empresa.Localidad}, {UsuarioActual.Empresa.Estado}, Tel. {Telefono}"))
|
||||||
params.Add(New ReportParameter("SerieFolio", SerieFolio))
|
params.Add(New ReportParameter("SerieFolio", SerieFolio))
|
||||||
params.Add(New ReportParameter("DomicilioSucursal", DomicilioSucursal))
|
params.Add(New ReportParameter("DomicilioSucursal", DomicilioSucursal))
|
||||||
params.Add(New ReportParameter("RFC", UsuarioActual.Empresa.RFC))
|
params.Add(New ReportParameter("RFC", UsuarioActual.Empresa.RFC))
|
||||||
@@ -826,7 +826,7 @@ Partial Class PopUpVerFactura
|
|||||||
params.Add(New ReportParameter("Chofer", Chofer))
|
params.Add(New ReportParameter("Chofer", Chofer))
|
||||||
params.Add(New ReportParameter("Placa", Placa))
|
params.Add(New ReportParameter("Placa", Placa))
|
||||||
params.Add(New ReportParameter("Recibio", Recibio))
|
params.Add(New ReportParameter("Recibio", Recibio))
|
||||||
params.Add(New ReportParameter("FechaEntrega", FechaEntrega))
|
params.Add(New ReportParameter("FechaEntrega", FechaEntrega.ToString()))
|
||||||
params.Add(New ReportParameter("EspecifUnidad", EspecifUnidad))
|
params.Add(New ReportParameter("EspecifUnidad", EspecifUnidad))
|
||||||
params.Add(New ReportParameter("DireccionOrigen", SBDireccionO.ToString))
|
params.Add(New ReportParameter("DireccionOrigen", SBDireccionO.ToString))
|
||||||
params.Add(New ReportParameter("DireccionDestino", SBDireccionD.ToString))
|
params.Add(New ReportParameter("DireccionDestino", SBDireccionD.ToString))
|
||||||
@@ -840,12 +840,12 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirPDF("Empresas/Grales/Formatos/CartaPorte.rdlc", Dt, params, String.Format("Carta Porte -{0}", Now.ToDateTime.ToShortDateString))
|
ImprimirPDF("Empresas/Grales/Formatos/CartaPorte.rdlc", Dt, params, String.Format("Carta Porte -{0}", Now.ToDateTime.ToShortDateString))
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'DesXmlTra' - IMPRIME XML TRASLADO"
|
#Region "OP = 'DesXmlTra' - IMPRIME XML TRASLADO"
|
||||||
|
|
||||||
Private Sub DescargaXMLTraslado(Parametros As Hashtable)
|
Private Sub DescargaXMLTraslado(Parametros As Hashtable)
|
||||||
If Parametros("CVEMOVIMIENTO") IsNot Nothing AndAlso Parametros("CVEMOVIMIENTO").ToString.ToEntero > 0 Then
|
If Parametros("CVEMOVIMIENTO") IsNot Nothing AndAlso Parametros("CVEMOVIMIENTO").ToString.ToEntero > 0 Then
|
||||||
Dim Exten As String = If(Parametros("EXT").ToString.ToLower = "xml", "xml", "pdf")
|
Dim Exten As String = If(Parametros("EXT").ToString.ToLower = "xml", "xml", "pdf")
|
||||||
@@ -864,12 +864,12 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
Archivo = Nothing
|
Archivo = Nothing
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'DesPdfTra' - IMPRIME PDF TRASLADO"
|
#Region "OP = 'DesPdfTra' - IMPRIME PDF TRASLADO"
|
||||||
|
|
||||||
Private Sub DescargaPDFTraslado(Parametros As Hashtable)
|
Private Sub DescargaPDFTraslado(Parametros As Hashtable)
|
||||||
If Parametros("CVEMOVIMIENTO") IsNot Nothing AndAlso Parametros("CVEMOVIMIENTO").ToString.ToEntero > 0 Then
|
If Parametros("CVEMOVIMIENTO") IsNot Nothing AndAlso Parametros("CVEMOVIMIENTO").ToString.ToEntero > 0 Then
|
||||||
Dim Exten As String = If(Parametros("EXT").ToString.ToLower = "xml", "xml", "pdf")
|
Dim Exten As String = If(Parametros("EXT").ToString.ToLower = "xml", "xml", "pdf")
|
||||||
@@ -888,10 +888,10 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
Archivo = Nothing
|
Archivo = Nothing
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region " OP = 'Vta,Fact' - IMPRIME PDF VENTAS"
|
#Region " OP = 'Vta,Fact' - IMPRIME PDF VENTAS"
|
||||||
Private Sub DescargaFacturaVenta(Parametros As Hashtable)
|
Private Sub DescargaFacturaVenta(Parametros As Hashtable)
|
||||||
If Parametros("CVEVENTA") IsNot Nothing AndAlso Parametros("CVEVENTA").ToString.ToEntero > 0 Then
|
If Parametros("CVEVENTA") IsNot Nothing AndAlso Parametros("CVEVENTA").ToString.ToEntero > 0 Then
|
||||||
@@ -1198,11 +1198,11 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region " - OP = 'Alm' - REPORTE ENTRADAS ALMACEN "
|
#Region " - OP = 'Alm' - REPORTE ENTRADAS ALMACEN "
|
||||||
|
|
||||||
Private Sub CargaMovimientosAlmacen(CveMovimiento As Integer)
|
Private Sub CargaMovimientosAlmacen(CveMovimiento As Integer)
|
||||||
Dim ObjInventarios As New ClsInventarios
|
Dim ObjInventarios As New ClsInventarios
|
||||||
|
|
||||||
@@ -2465,19 +2465,19 @@ Partial Class PopUpVerFactura
|
|||||||
If (UsuarioActual.CveEmpresa = 72) Then
|
If (UsuarioActual.CveEmpresa = 72) Then
|
||||||
params.Add(New ReportParameter("DomicilioFiscal", DomicilioFiscalCompu))
|
params.Add(New ReportParameter("DomicilioFiscal", DomicilioFiscalCompu))
|
||||||
End If
|
End If
|
||||||
ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/SalidasGarantia.rdlc", DtMovimientos, params, String.Format("SalidaGarantia{0}", Folio.ToString), RDSName:="DsInventarios")
|
ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/SalidasGarantia.rdlc", DtMovimientos, params, String.Format("SalidaGarantia{0}", Folio.ToString), RDSName:="DsInventarios")
|
||||||
'Else
|
'Else
|
||||||
' params.Add(New ReportParameter("Folio", Folio))
|
' params.Add(New ReportParameter("Folio", Folio))
|
||||||
' params.Add(New ReportParameter("Fecha", Fecha))
|
' params.Add(New ReportParameter("Fecha", Fecha))
|
||||||
' params.Add(New ReportParameter("Almacen", Almacen))
|
' params.Add(New ReportParameter("Almacen", Almacen))
|
||||||
' params.Add(New ReportParameter("SubProyecto", SubProyecto))
|
' params.Add(New ReportParameter("SubProyecto", SubProyecto))
|
||||||
' params.Add(New ReportParameter("Observaciones", Observaciones))
|
' params.Add(New ReportParameter("Observaciones", Observaciones))
|
||||||
' params.Add(New ReportParameter("NombreEntrego", String.Format("ENTREGÓ{0}{1}", vbCrLf, Capturo)))
|
' params.Add(New ReportParameter("NombreEntrego", String.Format("ENTREGÓ{0}{1}", vbCrLf, Capturo)))
|
||||||
' params.Add(New ReportParameter("NombreRecibio", String.Format("RECIBIÓ{0}{1}", vbCrLf, Recibio)))
|
' params.Add(New ReportParameter("NombreRecibio", String.Format("RECIBIÓ{0}{1}", vbCrLf, Recibio)))
|
||||||
' ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/Salidas.rdlc", DtMovimientos, params, String.Format("Salida de Almacen - {0}", Folio.ToString), RDSName:="DsInventarios")
|
' ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/Salidas.rdlc", DtMovimientos, params, String.Format("Salida de Almacen - {0}", Folio.ToString), RDSName:="DsInventarios")
|
||||||
'End If
|
'End If
|
||||||
|
|
||||||
|
|
||||||
Case 18 'D E V O L U C I O N D E L C L I E N T E
|
Case 18 'D E V O L U C I O N D E L C L I E N T E
|
||||||
Dim Archivo As New System.IO.FileInfo(String.Format("{0}Formatos/DevolucionCliente.rdlc", UsuarioActual.Empresa.Ruta))
|
Dim Archivo As New System.IO.FileInfo(String.Format("{0}Formatos/DevolucionCliente.rdlc", UsuarioActual.Empresa.Ruta))
|
||||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||||
@@ -2654,36 +2654,36 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirPDF(Archivo, DtMovimientos, params, String.Format("Salida por Prestamo - {0}", Folio.ToString), RDSName:="DsInventarios")
|
ImprimirPDF(Archivo, DtMovimientos, params, String.Format("Salida por Prestamo - {0}", Folio.ToString), RDSName:="DsInventarios")
|
||||||
ElseIf CveConcepto = 22 Then
|
ElseIf CveConcepto = 22 Then
|
||||||
ImprimirPDF(Archivo, DtMovimientos, params, String.Format("Entrada por Prestamo - {0}", Folio.ToString), RDSName:="DsInventarios")
|
ImprimirPDF(Archivo, DtMovimientos, params, String.Format("Entrada por Prestamo - {0}", Folio.ToString), RDSName:="DsInventarios")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'Case 22 'ENTRADA POR PRESTAMO
|
'Case 22 'ENTRADA POR PRESTAMO
|
||||||
' Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
' Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||||
' Dim params As New List(Of ReportParameter)
|
' Dim params As New List(Of ReportParameter)
|
||||||
|
|
||||||
' Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)
|
' Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)
|
||||||
' If Imagen.Exists Then
|
' If Imagen.Exists Then
|
||||||
' params.Add(New ReportParameter("LogoPath", logouri))
|
' params.Add(New ReportParameter("LogoPath", logouri))
|
||||||
' Else
|
' Else
|
||||||
' params.Add(New ReportParameter("LogoPath", ""))
|
' params.Add(New ReportParameter("LogoPath", ""))
|
||||||
' End If
|
' End If
|
||||||
|
|
||||||
' params.Add(New ReportParameter("Empresa", UsuarioActual.Empresa.Empresa))
|
' params.Add(New ReportParameter("Empresa", UsuarioActual.Empresa.Empresa))
|
||||||
' params.Add(New ReportParameter("Concepto", "Entrada por Prestamo"))
|
' params.Add(New ReportParameter("Concepto", "Entrada por Prestamo"))
|
||||||
' params.Add(New ReportParameter("Almacen", Almacen))
|
' params.Add(New ReportParameter("Almacen", Almacen))
|
||||||
' params.Add(New ReportParameter("Fecha", Fecha))
|
' params.Add(New ReportParameter("Fecha", Fecha))
|
||||||
' params.Add(New ReportParameter("FechaImpresion", DateTime.Now.ToString("dd/MM/yyyy")))
|
' params.Add(New ReportParameter("FechaImpresion", DateTime.Now.ToString("dd/MM/yyyy")))
|
||||||
' params.Add(New ReportParameter("Folio", Folio))
|
' params.Add(New ReportParameter("Folio", Folio))
|
||||||
' params.Add(New ReportParameter("Descuentos", ""))
|
' params.Add(New ReportParameter("Descuentos", ""))
|
||||||
' params.Add(New ReportParameter("IVA", ""))
|
' params.Add(New ReportParameter("IVA", ""))
|
||||||
' params.Add(New ReportParameter("Total", ""))
|
' params.Add(New ReportParameter("Total", ""))
|
||||||
' 'params.Add(New ReportParameter("NombreEntrego", String.Format("ENTREGÓ{0}{1}", vbCrLf, Capturo)))
|
' 'params.Add(New ReportParameter("NombreEntrego", String.Format("ENTREGÓ{0}{1}", vbCrLf, Capturo)))
|
||||||
' params.Add(New ReportParameter("NombreRecibio", String.Format("RECIBIÓ{0}{1}", vbCrLf, Recibio)))
|
' params.Add(New ReportParameter("NombreRecibio", String.Format("RECIBIÓ{0}{1}", vbCrLf, Recibio)))
|
||||||
' params.Add(New ReportParameter("FacturadoA", NombreCliente))
|
' params.Add(New ReportParameter("FacturadoA", NombreCliente))
|
||||||
' If (UsuarioActual.CveEmpresa = 72) Then
|
' If (UsuarioActual.CveEmpresa = 72) Then
|
||||||
' params.Add(New ReportParameter("DomicilioFiscal", DomicilioFiscalCompu))
|
' params.Add(New ReportParameter("DomicilioFiscal", DomicilioFiscalCompu))
|
||||||
' End If
|
' End If
|
||||||
' ImprimirPDF("Empresas/Grales/Formatos/EntradaSalida.rdlc", DtMovimientos, params, String.Format("Entrada por Prestamo - {0}", Folio.ToString), RDSName:="DsInventarios")
|
' ImprimirPDF("Empresas/Grales/Formatos/EntradaSalida.rdlc", DtMovimientos, params, String.Format("Entrada por Prestamo - {0}", Folio.ToString), RDSName:="DsInventarios")
|
||||||
|
|
||||||
Case 24 'SALIDA POR RESGUARDO
|
Case 24 'SALIDA POR RESGUARDO
|
||||||
If DtMovimientos(0)("CveTipoAlmacen").ToString.ToEntero = 20 Or DtMovimientos(0)("CveTipoAlmacen").ToString.ToEntero = 19 Then
|
If DtMovimientos(0)("CveTipoAlmacen").ToString.ToEntero = 20 Or DtMovimientos(0)("CveTipoAlmacen").ToString.ToEntero = 19 Then
|
||||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||||
@@ -3158,11 +3158,11 @@ Partial Class PopUpVerFactura
|
|||||||
If CveConcepto = 2 Then
|
If CveConcepto = 2 Then
|
||||||
ElseIf CveConcepto = 3 Then
|
ElseIf CveConcepto = 3 Then
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'OC' - IMPRIME PDF OC"
|
#Region "OP = 'OC' - IMPRIME PDF OC"
|
||||||
Private Sub ImprimePDFOC(CveOrdenCompra As Integer)
|
Private Sub ImprimePDFOC(CveOrdenCompra As Integer)
|
||||||
Dim reporte As Byte() = NewGeneraBytesOC(CveOrdenCompra, ConBitacora:=(UsuarioActual.Empresa.Funcionalidad(119) = "1"))
|
Dim reporte As Byte() = NewGeneraBytesOC(CveOrdenCompra, ConBitacora:=(UsuarioActual.Empresa.Funcionalidad(119) = "1"))
|
||||||
@@ -3198,10 +3198,10 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirbytesPDF(reporte, $"OrdenCompra-{Folio.ToString}")
|
ImprimirbytesPDF(reporte, $"OrdenCompra-{Folio.ToString}")
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'VAL' - IMPRIME PDF VAL"
|
#Region "OP = 'VAL' - IMPRIME PDF VAL"
|
||||||
Private Sub GenerarPDFVale(CveVale As Integer)
|
Private Sub GenerarPDFVale(CveVale As Integer)
|
||||||
|
|
||||||
@@ -3231,9 +3231,9 @@ Partial Class PopUpVerFactura
|
|||||||
'End If
|
'End If
|
||||||
End If
|
End If
|
||||||
ObjAF.Dispose()
|
ObjAF.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'OS' - IMPRIMIR PDF OS"
|
#Region "OP = 'OS' - IMPRIMIR PDF OS"
|
||||||
Private Sub GenerarPDFOS(CveOS As Integer)
|
Private Sub GenerarPDFOS(CveOS As Integer)
|
||||||
Dim ObjOS As New ClsOS()
|
Dim ObjOS As New ClsOS()
|
||||||
@@ -3352,9 +3352,9 @@ Partial Class PopUpVerFactura
|
|||||||
TmpDTMaterialesOS.Columns.Add("Clasificacion", GetType(String))
|
TmpDTMaterialesOS.Columns.Add("Clasificacion", GetType(String))
|
||||||
TmpDTMaterialesOS.Columns.Add("PS", GetType(String))
|
TmpDTMaterialesOS.Columns.Add("PS", GetType(String))
|
||||||
TmpDTMaterialesOS.Columns.Add("UM", GetType(String))
|
TmpDTMaterialesOS.Columns.Add("UM", GetType(String))
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'OI' - Crear Archivo "
|
#Region "OP = 'OI' - Crear Archivo "
|
||||||
Private Sub CrearArchivo(Archivo As String)
|
Private Sub CrearArchivo(Archivo As String)
|
||||||
Dim ObjEventos As New ClsOIEventos
|
Dim ObjEventos As New ClsOIEventos
|
||||||
@@ -3363,11 +3363,11 @@ Partial Class PopUpVerFactura
|
|||||||
Dim file As System.IO.FileInfo = New System.IO.FileInfo(path) '-- if the file exists on the server
|
Dim file As System.IO.FileInfo = New System.IO.FileInfo(path) '-- if the file exists on the server
|
||||||
|
|
||||||
DescargarArchivo(file)
|
DescargarArchivo(file)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'Contratos' - Crear Archivo "
|
#Region "OP = 'Contratos' - Crear Archivo "
|
||||||
Private Sub CrearArchivoContratos(Archivo As String)
|
Private Sub CrearArchivoContratos(Archivo As String)
|
||||||
|
|
||||||
@@ -3375,11 +3375,11 @@ Partial Class PopUpVerFactura
|
|||||||
Dim file As System.IO.FileInfo = New System.IO.FileInfo(Archivo) '-- if the file exists on the server
|
Dim file As System.IO.FileInfo = New System.IO.FileInfo(Archivo) '-- if the file exists on the server
|
||||||
|
|
||||||
DescargarArchivo(file)
|
DescargarArchivo(file)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'OI' - Descargar Archivo "
|
#Region "OP = 'OI' - Descargar Archivo "
|
||||||
Private Sub DescargarArchivo(File As System.IO.FileInfo)
|
Private Sub DescargarArchivo(File As System.IO.FileInfo)
|
||||||
If File.Exists Then 'set appropriate headers
|
If File.Exists Then 'set appropriate headers
|
||||||
@@ -3409,11 +3409,11 @@ Partial Class PopUpVerFactura
|
|||||||
Alert("Ocurrio un error al descargar el archivo", TipoMensaje.MsgAdvertencia, "window.close()")
|
Alert("Ocurrio un error al descargar el archivo", TipoMensaje.MsgAdvertencia, "window.close()")
|
||||||
|
|
||||||
End If 'nothing in the URL as HTTP GET
|
End If 'nothing in the URL as HTTP GET
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'AFR' - AF"
|
#Region "OP = 'AFR' - AF"
|
||||||
|
|
||||||
Private Sub ImprimirPDFAFR(CveAFR As Integer, Tipo As Integer)
|
Private Sub ImprimirPDFAFR(CveAFR As Integer, Tipo As Integer)
|
||||||
Dim ObjAF As New ClsAF
|
Dim ObjAF As New ClsAF
|
||||||
'Dim ObjSubProyecto As New ClsSubProyectos
|
'Dim ObjSubProyecto As New ClsSubProyectos
|
||||||
@@ -3600,9 +3600,9 @@ Partial Class PopUpVerFactura
|
|||||||
|
|
||||||
ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/ResguardoAF.rdlc", dtVC, params, NomArchivo)
|
ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/ResguardoAF.rdlc", dtVC, params, NomArchivo)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'POL' "
|
#Region "OP = 'POL' "
|
||||||
Private Sub ImprimirPolizaPDF(IdPoliza As Integer)
|
Private Sub ImprimirPolizaPDF(IdPoliza As Integer)
|
||||||
'Dim ObjConta As New ClsContabilidad
|
'Dim ObjConta As New ClsContabilidad
|
||||||
@@ -3641,9 +3641,9 @@ Partial Class PopUpVerFactura
|
|||||||
|
|
||||||
ObjPoliza.Dispose()
|
ObjPoliza.Dispose()
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'CAN' - CANCELACION"
|
#Region "OP = 'CAN' - CANCELACION"
|
||||||
Public Sub ImprimeCancelacion(CveVenta As Integer)
|
Public Sub ImprimeCancelacion(CveVenta As Integer)
|
||||||
Dim ObjVentas As New ClsVentas
|
Dim ObjVentas As New ClsVentas
|
||||||
@@ -3668,9 +3668,9 @@ Partial Class PopUpVerFactura
|
|||||||
|
|
||||||
End If
|
End If
|
||||||
ObjVentas.Dispose()
|
ObjVentas.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = 'DC' - DEPOSITOS CAJA"
|
#Region "OP = 'DC' - DEPOSITOS CAJA"
|
||||||
Private Sub CargaDepositosCaja(CveIE As Integer, CuentaCaja As String, CuentaDeposito As String)
|
Private Sub CargaDepositosCaja(CveIE As Integer, CuentaCaja As String, CuentaDeposito As String)
|
||||||
Dim Archivo As New System.IO.FileInfo(String.Format("{0}Formatos/DepositoCaja.rdlc", UsuarioActual.Empresa.Ruta))
|
Dim Archivo As New System.IO.FileInfo(String.Format("{0}Formatos/DepositoCaja.rdlc", UsuarioActual.Empresa.Ruta))
|
||||||
@@ -3697,11 +3697,11 @@ Partial Class PopUpVerFactura
|
|||||||
|
|
||||||
ObjIE.Dispose()
|
ObjIE.Dispose()
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "I E C H E Q U E S"
|
#Region "I E C H E Q U E S"
|
||||||
|
|
||||||
Private Sub ImprimirIE(CveIE As Integer, CveEmpresa As Integer)
|
Private Sub ImprimirIE(CveIE As Integer, CveEmpresa As Integer)
|
||||||
Dim CveTipoTransaccion = -1
|
Dim CveTipoTransaccion = -1
|
||||||
Dim ObjIE As New ClsBancos()
|
Dim ObjIE As New ClsBancos()
|
||||||
@@ -4108,21 +4108,21 @@ Partial Class PopUpVerFactura
|
|||||||
ParamComprobacion.Dispose()
|
ParamComprobacion.Dispose()
|
||||||
|
|
||||||
ObjIE.Dispose()
|
ObjIE.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = RECIBO DE PAGOS"
|
#Region "OP = RECIBO DE PAGOS"
|
||||||
Private Sub ImprimirReciboDePagos(CveIE As Integer, CveVenta As Integer)
|
Private Sub ImprimirReciboDePagos(CveIE As Integer, CveVenta As Integer)
|
||||||
|
|
||||||
PDFReciboDePagos(CveVenta, CveIE, -1)
|
PDFReciboDePagos(CveVenta, CveIE, -1)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = VTA - PyME"
|
#Region "OP = VTA - PyME"
|
||||||
|
|
||||||
' 04/05/2018 - Pruebas de impresion de factura PyME
|
' 04/05/2018 - Pruebas de impresion de factura PyME
|
||||||
Private Sub GeneraPDFVtaPyMe(Venta As Modelos.Factura, Optional Formato As String = "PDF")
|
Private Sub GeneraPDFVtaPyMe(Venta As Modelos.Factura, Optional Formato As String = "PDF")
|
||||||
Dim Directorio1 As String = String.Format("{0}Empresas\{1}\Formatos\Factura.mrt", ModExtensiones.DirectorioBaseEmpresas, UsuarioActual.CveEmpresa)
|
Dim Directorio1 As String = String.Format("{0}Empresas\{1}\Formatos\Factura.mrt", ModExtensiones.DirectorioBaseEmpresas, UsuarioActual.CveEmpresa)
|
||||||
Dim File As FileInfo = New FileInfo(Directorio1)
|
Dim File As FileInfo = New FileInfo(Directorio1)
|
||||||
@@ -4177,9 +4177,9 @@ Partial Class PopUpVerFactura
|
|||||||
Else
|
Else
|
||||||
RegistraScript("alert('No hay un formato de factura predefinido,favor de comunicar a soporte tecnico')")
|
RegistraScript("alert('No hay un formato de factura predefinido,favor de comunicar a soporte tecnico')")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "OP = ENTREGAS - Entregas por realizar"
|
#Region "OP = ENTREGAS - Entregas por realizar"
|
||||||
Public Sub ImprimeEntregasPorRealizar(CveAsignacionEntrega As Long, pUsuarioEntregar As String)
|
Public Sub ImprimeEntregasPorRealizar(CveAsignacionEntrega As Long, pUsuarioEntregar As String)
|
||||||
Dim Correcto As Boolean = False
|
Dim Correcto As Boolean = False
|
||||||
@@ -4199,7 +4199,7 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirPDF($"Empresas/{UsuarioActual.CveEmpresa}/Formatos/EntregasPorRealizar.rdlc", DtPaqueteriasGuias, RepParams, "Entregas por realizar", "PDF", RDSName:="DsInventarios")
|
ImprimirPDF($"Empresas/{UsuarioActual.CveEmpresa}/Formatos/EntregasPorRealizar.rdlc", DtPaqueteriasGuias, RepParams, "Entregas por realizar", "PDF", RDSName:="DsInventarios")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -2164,6 +2164,52 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="portlet light xspadding bordered">
|
||||||
|
<div class="portlet-title">
|
||||||
|
<div class="caption font-green">
|
||||||
|
<i class="icon-pin font-green"></i>
|
||||||
|
<span class="caption-subject bold uppercase">Pagos no bancarios</span>
|
||||||
|
</div>
|
||||||
|
<div class="actions">
|
||||||
|
<div class="btn-group">
|
||||||
|
<asp:UpdatePanel UpdateMode="Conditional" runat="server" ID="UpdatePanel10">
|
||||||
|
<ContentTemplate>
|
||||||
|
<asp:LinkButton ID="LnkPagosNoBancariosPDF" runat="server" data-toggle="tooltip" Title="PDF"> <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="LnkPagosNoBancariosExcel" runat="server" data-toggle="tooltip" Title="Excel"><i class="fa fa-file-excel-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i> </asp:LinkButton>
|
||||||
|
</ContentTemplate>
|
||||||
|
<Triggers>
|
||||||
|
<asp:PostBackTrigger ControlID="LnkPagosNoBancariosPDF" />
|
||||||
|
<asp:PostBackTrigger ControlID="LnkPagosNoBancariosExcel" />
|
||||||
|
</Triggers>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="portlet-body">
|
||||||
|
<div class="row col-md-12" align="right">
|
||||||
|
<input type="text" id="TxtBusquedaPagosNoBancarios" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusquedaPagosNoBancarios','{0}')", GvPagosNoBancarios.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusquedaPagosNoBancarios','{0}')", GvPagosNoBancarios.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table-scrollable">
|
||||||
|
<asp:GridView ID="GvPagosNoBancarios" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron pagos no bancarios" Width="50%"
|
||||||
|
CssClass="table table-striped table-advance table-hover ScrollAD" data-sort="false" BorderWidth="1" BorderColor="#D3D3D3" GridLines="None" DataKeyNames="CvePrePoliza,CveCompra,CveVenta,CvePersonal,ImporteMN,VentaSerieFolio,CompraSerieFolio,NombreCompleto,FechaIng,Abreviatura">
|
||||||
|
<Columns>
|
||||||
|
<asp:BoundField HeaderText="Nombre Completo" DataField="NombreCompleto"/>
|
||||||
|
<asp:BoundField HeaderText="Fecha" DataField="FechaIng" DataFormatString = "{0:dd/MM/yyyy}"/>
|
||||||
|
<asp:HyperLinkField HeaderText="Venta Serie Folio" DataTextField="VentaSerieFolio" DataNavigateUrlFields="CveVenta" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}"/>
|
||||||
|
<asp:HyperLinkField HeaderText="Compra Serie Folio" DataTextField="CompraSerieFolio" DataNavigateUrlFields="CveCompra" DataNavigateUrlFormatString="/Compras/Compras.aspx?CveCompra={0}"/>
|
||||||
|
<asp:TemplateField HeaderText="Importe" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlImp" runat="server" Text='<%# Eval("ImporteMN", "{0:N2}")%>'></asp:Literal>
|
||||||
|
<asp:Literal ID="LtlMon" runat="server" Text='<%# Eval("Abreviatura")%>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
</Columns>
|
||||||
|
</asp:GridView>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
|
|||||||
@@ -511,7 +511,7 @@ Partial Class Compras_Proveedores
|
|||||||
'CargaColectivas()
|
'CargaColectivas()
|
||||||
'CargaSaldosBeneficiarios()
|
'CargaSaldosBeneficiarios()
|
||||||
CargaUsuariosPortal()
|
CargaUsuariosPortal()
|
||||||
|
CargarPagosNoBancarios()
|
||||||
CargaFiltroMonedas()
|
CargaFiltroMonedas()
|
||||||
MostrarFiltro()
|
MostrarFiltro()
|
||||||
|
|
||||||
@@ -6269,6 +6269,15 @@ Partial Class Compras_Proveedores
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub CargarPagosNoBancarios()
|
||||||
|
Dim ObjBancos As New ClsBancos
|
||||||
|
If ObjBancos.GetPagosNoBancarios(UsuarioActual.CveEmpresa, CveProveedor:=CveProveedor) Then
|
||||||
|
GvPagosNoBancarios.DataSource = ObjBancos.DtResultados
|
||||||
|
GvPagosNoBancarios.DataBind()
|
||||||
|
End If
|
||||||
|
ObjBancos.Dispose()
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -222,7 +222,7 @@
|
|||||||
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Todas" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1"><span>Comprobación:</span></div>
|
<div class="col-md-1" style="margin-left:20px"><span>Comprobación:</span></div>
|
||||||
<div class="col-md-1">
|
<div class="col-md-1">
|
||||||
<asp:DropDownList ID="DdlComprobacion" runat="server" CssClass="select2me" AppendDataBoundItems="true" Width="100%">
|
<asp:DropDownList ID="DdlComprobacion" runat="server" CssClass="select2me" AppendDataBoundItems="true" Width="100%">
|
||||||
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||||||
@@ -230,6 +230,14 @@
|
|||||||
<asp:ListItem Text="No" Value="0"></asp:ListItem>
|
<asp:ListItem Text="No" Value="0"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-1" style="margin-left:20px"><span>Aplica NC:</span></div>
|
||||||
|
<div class="col-md-1">
|
||||||
|
<asp:DropDownList ID="DdlAplicaNC" runat="server" CssClass="select2me" AppendDataBoundItems="true" Width="100%">
|
||||||
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||||||
|
<asp:ListItem Text="Si" Value="1"></asp:ListItem>
|
||||||
|
<asp:ListItem Text="No" Value="0"></asp:ListItem>
|
||||||
|
</asp:DropDownList>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -379,7 +379,7 @@ Partial Class RepCxPDetalle
|
|||||||
DdlUsuarioResponsable.SelectedValue.ToEntero, Anio, Mes, AnioMes, CveMoneda, CveSubProyecto, DdlEstatusCompra.SelectedValue.ToEntero,
|
DdlUsuarioResponsable.SelectedValue.ToEntero, Anio, Mes, AnioMes, CveMoneda, CveSubProyecto, DdlEstatusCompra.SelectedValue.ToEntero,
|
||||||
Fecha, DdlGrupo.SelectedValue.ToEntero, Opcion, UsuarioActual.CveEmpresa, DdlSubProyecto.SelectedValue.ToEntero, RblTipoCambio.SelectedValue.ToEntero,
|
Fecha, DdlGrupo.SelectedValue.ToEntero, Opcion, UsuarioActual.CveEmpresa, DdlSubProyecto.SelectedValue.ToEntero, RblTipoCambio.SelectedValue.ToEntero,
|
||||||
TCEspecifico, FechaVI, FechaVF, FechaCorte:=txtCorteA.Text.ToDate, CveUsuarioConsulta:=UsuarioActual.CveUsuario, CveTipoProveedor:=IIf(CveTipoProveedor = 3,
|
TCEspecifico, FechaVI, FechaVF, FechaCorte:=txtCorteA.Text.ToDate, CveUsuarioConsulta:=UsuarioActual.CveUsuario, CveTipoProveedor:=IIf(CveTipoProveedor = 3,
|
||||||
-1, CveTipoProveedor), Comprobaciones:=DdlComprobacion.SelectedValue.ToEntero) Then
|
-1, CveTipoProveedor), Comprobaciones:=DdlComprobacion.SelectedValue.ToEntero, AplicaNC:=DdlAplicaNC.SelectedValue.ToEntero()) Then
|
||||||
|
|
||||||
|
|
||||||
Dim TMP_DTDatos As New DataTable
|
Dim TMP_DTDatos As New DataTable
|
||||||
|
|||||||
@@ -101,11 +101,12 @@
|
|||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
|
<%-- CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true"--%>
|
||||||
|
|
||||||
<asp:UpdatePanel ID="UpAnual" UpdateMode="Conditional" runat="server">
|
<asp:UpdatePanel ID="UpAnual" UpdateMode="Conditional" runat="server">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:GridView ID="GvAnual" runat="server" AutoGenerateColumns="False" ShowHeader="true" EmptyDataText="No se encontraron datos" GridLines="none"
|
<asp:GridView ID="GvAnual" runat="server" DataKeyNames="Level,CveCuenta" AutoGenerateColumns="False" ShowHeader="true" EmptyDataText="No se encontraron datos" GridLines="none"
|
||||||
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="2" data-heightmenos="300">
|
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="2" data-heightmenos="300" data-sort="true" OnDataBound="GvAnual_DataBound" >
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<HeaderTemplate>
|
<HeaderTemplate>
|
||||||
@@ -281,7 +282,7 @@
|
|||||||
} else {
|
} else {
|
||||||
CargaGraficaPastel();
|
CargaGraficaPastel();
|
||||||
}
|
}
|
||||||
$('.LblTituloGrafica').text($(obj).parent().parent().text());
|
$('.LblTituloGrafica').text($(obj).closest('tr').text().trim());
|
||||||
}
|
}
|
||||||
function CargaGraficaBarras() {
|
function CargaGraficaBarras() {
|
||||||
let data = cdatos;
|
let data = cdatos;
|
||||||
|
|||||||
@@ -42,6 +42,63 @@ Partial Class Contabilidad2_RepAnexoCatalogoAnual
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
Public Property DtHeadersCount As Integer
|
||||||
|
Get
|
||||||
|
If ViewState("DtHeadersCount") Is Nothing Then
|
||||||
|
Return -1
|
||||||
|
Else
|
||||||
|
Return ViewState("DtHeadersCount").ToString.ToEntero
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End Get
|
||||||
|
Set(value As Integer)
|
||||||
|
ViewState("DtHeadersCount") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Private Property DTHeaders As DataTable
|
||||||
|
|
||||||
|
Get
|
||||||
|
|
||||||
|
If ViewState("DTHeaders") Is Nothing Then
|
||||||
|
Return New DataTable
|
||||||
|
Else
|
||||||
|
Return DirectCast(ViewState("DTHeaders"), DataTable)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End Get
|
||||||
|
Set(value As DataTable)
|
||||||
|
ViewState("DTHeaders") = value
|
||||||
|
End Set
|
||||||
|
|
||||||
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
Private Property DTDatos As DataTable
|
||||||
|
|
||||||
|
Get
|
||||||
|
|
||||||
|
If ViewState("DTDatos") Is Nothing Then
|
||||||
|
Return New DataTable
|
||||||
|
Else
|
||||||
|
Return DirectCast(ViewState("DTDatos"), DataTable)
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
End Get
|
||||||
|
Set(value As DataTable)
|
||||||
|
ViewState("DTDatos") = value
|
||||||
|
End Set
|
||||||
|
|
||||||
|
End Property
|
||||||
|
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||||
@@ -121,20 +178,33 @@ Partial Class Contabilidad2_RepAnexoCatalogoAnual
|
|||||||
Protected Sub BtnCargaAsignados_Click(sender As Object, e As EventArgs) Handles BtnCargaAsignados.Click
|
Protected Sub BtnCargaAsignados_Click(sender As Object, e As EventArgs) Handles BtnCargaAsignados.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub CargaDatos()
|
Private Sub CargaDatos()
|
||||||
|
|
||||||
|
|
||||||
|
DTHeaders = New DataTable
|
||||||
|
DTDatos = New DataTable
|
||||||
|
|
||||||
Dim Conta As New ClsContabilidad
|
Dim Conta As New ClsContabilidad
|
||||||
|
|
||||||
|
DtHeadersCount = 0
|
||||||
|
|
||||||
If Conta.GetAnexoCatalogoAnual(CveCuenta, DdlEjercicio.SelectedValue.ToEntero, DdlSubProyecto.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, DdlEjercicio2.SelectedValue.ToEntero, DdlDivisor.SelectedValue.ToEntero, UsuarioActual.CveUsuario, DdlPeriodo.SelectedValue.ToEntero) Then
|
If Conta.GetAnexoCatalogoAnual(CveCuenta, DdlEjercicio.SelectedValue.ToEntero, DdlSubProyecto.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, DdlEjercicio2.SelectedValue.ToEntero, DdlDivisor.SelectedValue.ToEntero, UsuarioActual.CveUsuario, DdlPeriodo.SelectedValue.ToEntero) Then
|
||||||
Dim DtHeaders As DataTable = Conta.DSResultados.Tables(0)
|
'Dim DtHeaders As DataTable = Conta.DSResultados.Tables(0)
|
||||||
|
DTHeaders = Conta.DSResultados.Tables(0)
|
||||||
|
DTDatos = Conta.DSResultados.Tables(1)
|
||||||
|
|
||||||
|
|
||||||
|
DtHeadersCount = DTHeaders.Rows.Count
|
||||||
GvAnual.DataSource = Conta.DSResultados.Tables(1)
|
GvAnual.DataSource = Conta.DSResultados.Tables(1)
|
||||||
|
|
||||||
Dim Index = 2
|
Dim Index = 2
|
||||||
For Index = 2 To GvAnual.Columns.Count - 1
|
For Index = 2 To GvAnual.Columns.Count - 1
|
||||||
GvAnual.Columns(Index).Visible = False
|
GvAnual.Columns(Index).Visible = False
|
||||||
Next Index
|
Next Index
|
||||||
|
|
||||||
listaCamposanios.Clear()
|
listaCamposanios.Clear()
|
||||||
Index = 2
|
Index = 2
|
||||||
For Each Dr As DataRow In DtHeaders.Rows
|
For Each Dr As DataRow In DTHeaders.Rows
|
||||||
GvAnual.Columns(Index).Visible = True
|
GvAnual.Columns(Index).Visible = True
|
||||||
CType(GvAnual.Columns(Index), BoundField).DataField = String.Format("Ejercicio{0}", Dr("Ejercicio"))
|
CType(GvAnual.Columns(Index), BoundField).DataField = String.Format("Ejercicio{0}", Dr("Ejercicio"))
|
||||||
GvAnual.Columns(Index).HeaderText = Dr("Ejercicio").ToString
|
GvAnual.Columns(Index).HeaderText = Dr("Ejercicio").ToString
|
||||||
@@ -166,7 +236,9 @@ Partial Class Contabilidad2_RepAnexoCatalogoAnual
|
|||||||
UpAnual.Update()
|
UpAnual.Update()
|
||||||
|
|
||||||
'RegistraScript($"LimpiaCeros({DdlDivisor.SelectedValue});")
|
'RegistraScript($"LimpiaCeros({DdlDivisor.SelectedValue});")
|
||||||
RegistraScript($"LimpiaCeros();")
|
|
||||||
|
'RegistraScript($"LimpiaCeros();")
|
||||||
|
|
||||||
Conta.Dispose()
|
Conta.Dispose()
|
||||||
|
|
||||||
|
|
||||||
@@ -191,10 +263,61 @@ Partial Class Contabilidad2_RepAnexoCatalogoAnual
|
|||||||
setgraficaCC(e)
|
setgraficaCC(e)
|
||||||
If e.Row.RowIndex = 0 Then
|
If e.Row.RowIndex = 0 Then
|
||||||
e.Row.Style.Add("font-weight", "bold")
|
e.Row.Style.Add("font-weight", "bold")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
e.Row.Cells(1).Style.Add("text-indent", $"{e.Row.DBCampo("Level").ToString.ToEntero * 2}em")
|
|
||||||
|
If e.Row.DataKey("Level").ToEntero = 0 Then
|
||||||
|
e.Row.CssClass = "Totales"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If e.Row.DataKey("Level").ToEntero = 1 Then
|
||||||
|
e.Row.CssClass = "SubTotales"
|
||||||
|
End If
|
||||||
|
|
||||||
|
Dim CveCunetaRow As Integer = e.Row.DataKey("CveCuenta").ToEntero
|
||||||
|
|
||||||
|
Dim inicial As Boolean = True
|
||||||
|
Dim Index As Integer = 2
|
||||||
|
|
||||||
|
For Each DRow As DataRow In DTHeaders.Rows
|
||||||
|
|
||||||
|
Dim Importe As Decimal = e.Row.DBCampo($"Ejercicio{DRow("Ejercicio")}").ToDecimal
|
||||||
|
Dim Anio As Integer = DRow("Ejercicio").ToString.ToEntero
|
||||||
|
|
||||||
|
If Importe <> 0 Then
|
||||||
|
e.Row.Cells(Index).Text = $"<a { If(Importe < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF=31/12/{Anio}&FI=01/01/{Anio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue.ToEntero}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Importe.ToString("###,###,##0"), Importe.ToString("###,###,###.00")) }</a>"
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
If e.Row.Cells(Index + 1).Text.ToDecimal = 0 Then
|
||||||
|
|
||||||
|
e.Row.Cells(Index + 1).Text = "-"
|
||||||
|
|
||||||
|
ElseIf e.Row.Cells(Index + 1).Text.ToDecimal < 0 Then
|
||||||
|
e.Row.Cells(Index + 1).ForeColor = Drawing.Color.Red
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
If e.Row.Cells(Index + 2).Text.Replace("%", "").ToDecimal = 0 Then
|
||||||
|
e.Row.Cells(Index + 2).Text = "-"
|
||||||
|
ElseIf e.Row.Cells(Index + 2).Text.Replace("%", "").ToDecimal < 0 Then
|
||||||
|
e.Row.Cells(Index + 2).ForeColor = Drawing.Color.Red
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
'If inicial Then
|
||||||
|
' Index = Indice + 1
|
||||||
|
' inicial = False
|
||||||
|
' Continue For
|
||||||
|
'End If
|
||||||
|
|
||||||
|
Index += 3
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
'e.Row.Cells(1).Style.Add("text-indent", $"{e.Row.DBCampo("Level").ToString.ToEntero * 2}em")
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -231,4 +354,56 @@ Partial Class Contabilidad2_RepAnexoCatalogoAnual
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Protected Sub GvAnual_DataBound(sender As Object, e As EventArgs)
|
||||||
|
|
||||||
|
'If DtHeadersCount > 0 Then
|
||||||
|
|
||||||
|
|
||||||
|
' '96 32
|
||||||
|
|
||||||
|
' Dim NColumns As Integer = GvAnual.Columns.Count
|
||||||
|
' Dim row As New GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Normal)
|
||||||
|
|
||||||
|
' Dim cell1 As New TableHeaderCell()
|
||||||
|
' cell1.Text = ""
|
||||||
|
' cell1.ColumnSpan = 1
|
||||||
|
' row.Controls.Add(cell1)
|
||||||
|
|
||||||
|
' Dim cell2 As New TableHeaderCell()
|
||||||
|
' cell2.Text = ""
|
||||||
|
' cell2.ColumnSpan = 1
|
||||||
|
' row.Controls.Add(cell2)
|
||||||
|
|
||||||
|
|
||||||
|
' Dim cell3 As New TableHeaderCell()
|
||||||
|
' cell3.Text = ""
|
||||||
|
' cell3.ColumnSpan = 1
|
||||||
|
' row.Controls.Add(cell3)
|
||||||
|
|
||||||
|
' Dim cell4 As New TableHeaderCell()
|
||||||
|
' cell4.Text = ""
|
||||||
|
' cell4.ColumnSpan = 1
|
||||||
|
' row.Controls.Add(cell4)
|
||||||
|
|
||||||
|
' For x = 0 To DtHeadersCount
|
||||||
|
|
||||||
|
' Dim cell As New TableHeaderCell()
|
||||||
|
' cell.Text = ""
|
||||||
|
' cell.ColumnSpan = 1
|
||||||
|
' row.Controls.Add(cell)
|
||||||
|
|
||||||
|
' Dim cellColspan2 = New TableHeaderCell()
|
||||||
|
' cellColspan2.ColumnSpan = 2
|
||||||
|
' cellColspan2.Text = "Variación"
|
||||||
|
' row.Controls.Add(cellColspan2)
|
||||||
|
|
||||||
|
' x = x + 1
|
||||||
|
|
||||||
|
' Next
|
||||||
|
|
||||||
|
' GvAnual.HeaderRow.Parent.Controls.AddAt(0, row)
|
||||||
|
|
||||||
|
'End If
|
||||||
|
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -103,7 +103,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<div style="background-color: #fff;">
|
<div style="background-color: #fff;">
|
||||||
<asp:GridView ID="GvCC" runat="server" AutoGenerateColumns="False" ShowHeader="true" EmptyDataText="No se encontraron datos" GridLines="none"
|
<asp:GridView ID="GvCC" runat="server" AutoGenerateColumns="False" ShowHeader="true" EmptyDataText="No se encontraron datos" GridLines="none"
|
||||||
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="2" data-heightmenos="300">
|
DataKeyNames="Level,CveCuenta" CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="2" data-heightmenos="300">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<HeaderTemplate>
|
<HeaderTemplate>
|
||||||
@@ -124,141 +124,144 @@
|
|||||||
<asp:Label runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:BoundField DataFormatString="{0:N2}" DataField="SubProyectoGeneral" HeaderText="Total" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" DataField="SubProyectoGeneral" HeaderText="Total" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" DataField="SubProyectoNA" HeaderText="Sin SubProyecto" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" DataField="SubProyectoNA" HeaderText="Sin SubProyecto" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" DataField="SubProyectoNAPorcentaje" HeaderText="%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" DataField="SubProyectoNAPorcentaje" HeaderText="%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
|
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
<asp:BoundField DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="100px" />
|
||||||
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
<asp:BoundField DataFormatString="{0:N2}%" ItemStyle-HorizontalAlign="Right" ItemStyle-CssClass="ceros" ItemStyle-Width="50px" />
|
||||||
|
|
||||||
</Columns>
|
</Columns>
|
||||||
</asp:GridView>
|
</asp:GridView>
|
||||||
</div>
|
</div>
|
||||||
@@ -299,8 +302,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
||||||
|
|
||||||
@@ -322,7 +324,7 @@
|
|||||||
} else {
|
} else {
|
||||||
CargaGraficaPastel();
|
CargaGraficaPastel();
|
||||||
}
|
}
|
||||||
$('.LblTituloGrafica').text($(obj).parent().parent().text());
|
$('.LblTituloGrafica').text($(obj).closest('tr').text().trim());
|
||||||
}
|
}
|
||||||
function CargaGraficaBarras() {
|
function CargaGraficaBarras() {
|
||||||
let data = cdatos;
|
let data = cdatos;
|
||||||
@@ -396,7 +398,7 @@
|
|||||||
function cargaGraficaBarras2() {
|
function cargaGraficaBarras2() {
|
||||||
//Hypgrafica
|
//Hypgrafica
|
||||||
$("#DivModalGrafica").modal();
|
$("#DivModalGrafica").modal();
|
||||||
$('.LblTituloGrafica').text('grafica');
|
$('.LblTituloGrafica').text('Grafica');
|
||||||
let items = []
|
let items = []
|
||||||
let data;
|
let data;
|
||||||
let series = [];
|
let series = [];
|
||||||
@@ -517,8 +519,7 @@
|
|||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
function LimpiaCeros(Divisor) {
|
function LimpiaCeros(Divisor) {
|
||||||
$('.ceros').each(function (i, obj) {
|
$('.ceros').each(function (i, obj) {
|
||||||
debugger;
|
|
||||||
|
|
||||||
if ($(this).html() == '0.00' || $(this).html() == '0.00%') {
|
if ($(this).html() == '0.00' || $(this).html() == '0.00%') {
|
||||||
$(this).html('-');
|
$(this).html('-');
|
||||||
@@ -540,7 +541,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function FormatoNumeroIPP(Importe, Decimales) {
|
function FormatoNumeroIPP(Importe, Decimales) {
|
||||||
debugger;
|
|
||||||
if (typeof Decimales === 'undefined') { Decimales = 2; }
|
if (typeof Decimales === 'undefined') { Decimales = 2; }
|
||||||
|
|
||||||
if (isNaN(parseInt(Importe))) return "NaN";
|
if (isNaN(parseInt(Importe))) return "NaN";
|
||||||
|
|||||||
@@ -33,6 +33,39 @@ Partial Class Contabilidad2_RepAnexoCatalogoCC
|
|||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
Private Property DTHeaders As DataTable
|
||||||
|
Get
|
||||||
|
|
||||||
|
If ViewState("DTHeaders") Is Nothing Then
|
||||||
|
Return New DataTable
|
||||||
|
Else
|
||||||
|
Return DirectCast(ViewState("DTHeaders"), DataTable)
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Get
|
||||||
|
Set(value As DataTable)
|
||||||
|
ViewState("DTHeaders") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
|
||||||
|
Private Property DTDatos As DataTable
|
||||||
|
Get
|
||||||
|
|
||||||
|
If ViewState("DTDatos") Is Nothing Then
|
||||||
|
Return New DataTable
|
||||||
|
Else
|
||||||
|
Return DirectCast(ViewState("DTDatos"), DataTable)
|
||||||
|
End If
|
||||||
|
|
||||||
|
End Get
|
||||||
|
Set(value As DataTable)
|
||||||
|
ViewState("DTDatos") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||||
@@ -112,12 +145,16 @@ Partial Class Contabilidad2_RepAnexoCatalogoCC
|
|||||||
CargaDatos()
|
CargaDatos()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub CargaDatos()
|
Private Sub CargaDatos()
|
||||||
|
|
||||||
|
DTHeaders = New DataTable
|
||||||
|
DTDatos = New DataTable
|
||||||
Dim Conta As New ClsContabilidad
|
Dim Conta As New ClsContabilidad
|
||||||
|
|
||||||
If Conta.GetAnexoCatalagoCC(CveCuenta, DdlEjercicio.SelectedValue.ToEntero, DdlSubProyecto.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, DdlDivisor.SelectedValue.ToEntero, DdlPeriodo.SelectedValue.ToEntero, UsuarioActual.CveUsuario) Then
|
If Conta.GetAnexoCatalagoCC(CveCuenta, DdlEjercicio.SelectedValue.ToEntero, DdlSubProyecto.SelectedValue.ToEntero, UsuarioActual.CveEmpresa, DdlDivisor.SelectedValue.ToEntero, DdlPeriodo.SelectedValue.ToEntero, UsuarioActual.CveUsuario) Then
|
||||||
|
|
||||||
Dim DtHeaders As DataTable = Conta.DSResultados.Tables(0)
|
DTHeaders = Conta.DSResultados.Tables(0)
|
||||||
|
DTDatos = Conta.DSResultados.Tables(1)
|
||||||
GvCC.DataSource = Conta.DSResultados.Tables(1)
|
GvCC.DataSource = Conta.DSResultados.Tables(1)
|
||||||
|
|
||||||
Dim Index = 4
|
Dim Index = 4
|
||||||
@@ -127,18 +164,19 @@ Partial Class Contabilidad2_RepAnexoCatalogoCC
|
|||||||
listaCampos.Clear()
|
listaCampos.Clear()
|
||||||
|
|
||||||
Index = 4
|
Index = 4
|
||||||
For Each Dr As DataRow In DtHeaders.Rows
|
For Each Dr As DataRow In DTHeaders.Rows
|
||||||
GvCC.Columns(Index).Visible = True
|
GvCC.Columns(Index).Visible = True
|
||||||
CType(GvCC.Columns(Index), BoundField).DataField = String.Format("SubProyecto{0}", Dr("SubProyecto"))
|
CType(GvCC.Columns(Index), BoundField).DataField = String.Format("SubProyecto{0}", Dr("SubProyecto"))
|
||||||
GvCC.Columns(Index).HeaderText = Dr("SubProyecto").ToString()
|
GvCC.Columns(Index).HeaderText = Dr("SubProyecto").ToString()
|
||||||
listaCampos.Add(New String() {String.Format("SubProyecto{0}", Dr("SubProyecto")), Dr("SubProyecto").ToString()})
|
listaCampos.Add(New String() {String.Format("SubProyecto{0}", Dr("SubProyecto")), Dr("SubProyecto").ToString()})
|
||||||
|
|
||||||
|
|
||||||
GvCC.Columns(Index + 1).Visible = True
|
'GvCC.Columns(Index + 1).Visible = True
|
||||||
CType(GvCC.Columns(Index + 1), BoundField).DataField = String.Format("SubProyecto{0}Porcentaje", Dr("SubProyecto"))
|
'CType(GvCC.Columns(Index + 1), BoundField).DataField = String.Format("SubProyecto{0}Porcentaje", Dr("SubProyecto"))
|
||||||
GvCC.Columns(Index + 1).HeaderText = "%"
|
'GvCC.Columns(Index + 1).HeaderText = "%"
|
||||||
|
'Index += 2
|
||||||
Index += 2
|
|
||||||
|
Index += 1
|
||||||
Next
|
Next
|
||||||
|
|
||||||
GvCC.DataBind()
|
GvCC.DataBind()
|
||||||
@@ -156,7 +194,7 @@ Partial Class Contabilidad2_RepAnexoCatalogoCC
|
|||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
RegistraScript($"LimpiaCeros({DdlDivisor.SelectedValue});")
|
'RegistraScript($"LimpiaCeros({DdlDivisor.SelectedValue});")
|
||||||
Conta.Dispose()
|
Conta.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -164,16 +202,119 @@ Partial Class Contabilidad2_RepAnexoCatalogoCC
|
|||||||
|
|
||||||
|
|
||||||
#Region " GV ROW DATABOUND "
|
#Region " GV ROW DATABOUND "
|
||||||
Protected Sub GvCC_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvCC.RowDataBound
|
Protected Sub GvCC_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvCC.RowDataBound
|
||||||
|
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||||
|
|
||||||
If e.Row.RowIndex = 0 Then
|
If e.Row.RowIndex = 0 Then
|
||||||
e.Row.Style.Add("font-weight", "bold")
|
e.Row.Style.Add("font-weight", "bold")
|
||||||
End If
|
End If
|
||||||
setgraficaCC(e)
|
setgraficaCC(e)
|
||||||
e.Row.Cells(1).Style.Add("text-indent", $"{e.Row.DBCampo("Level").ToString.ToEntero * 2}em")
|
|
||||||
|
If e.Row.DataKey("Level").ToEntero = 0 Then
|
||||||
|
e.Row.CssClass = "Totales"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If e.Row.DataKey("Level").ToEntero = 1 Then
|
||||||
|
e.Row.CssClass = "SubTotales"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Dim Index As Integer = 2
|
||||||
|
|
||||||
|
For Each DRow As DataRow In DTHeaders.Rows
|
||||||
|
Dim Importe As Decimal = e.Row.DBCampo($"SubProyecto{DRow("SubProyecto")}").ToDecimal
|
||||||
|
'Dim Anio As Integer = DRow("SubProyecto").ToString.ToEntero
|
||||||
|
|
||||||
|
If e.Row.CssClass = "Totales" And Index = 2 Then
|
||||||
|
e.Row.Cells(Index).ForeColor = Drawing.ColorTranslator.FromHtml("#337ab7")
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If e.Row.Cells(Index).Text.Replace("%", "").ToDecimal = 0 Then
|
||||||
|
e.Row.Cells(Index).Text = "-"
|
||||||
|
ElseIf e.Row.Cells(Index).Text.Replace("%", "").ToDecimal < 0 Then
|
||||||
|
e.Row.Cells(Index).ForeColor = Drawing.Color.Red
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Index += 1
|
||||||
|
Next
|
||||||
|
|
||||||
|
Dim CveCunetaRow As Integer = e.Row.DataKey("CveCuenta").ToEntero
|
||||||
|
Dim inicial As Boolean = True
|
||||||
|
Index = 4
|
||||||
|
|
||||||
|
For Each DRow As DataRow In DTHeaders.Rows
|
||||||
|
|
||||||
|
Dim Importe As Decimal = e.Row.DBCampo($"SubProyecto{DRow("SubProyecto")}").ToDecimal
|
||||||
|
'Dim Anio As Integer = DRow("SubProyecto").ToString.ToEntero
|
||||||
|
|
||||||
|
|
||||||
|
If e.Row.Cells(Index).Text.Replace("%", "").ToDecimal = 0 Then
|
||||||
|
e.Row.Cells(Index).Text = "-"
|
||||||
|
ElseIf e.Row.Cells(Index).Text.Replace("%", "").ToDecimal < 0 Then
|
||||||
|
e.Row.Cells(Index).ForeColor = Drawing.Color.Red
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If Importe <> 0 Then
|
||||||
|
e.Row.Cells(Index).Text = $"<a { If(Importe < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF=31/12/{DdlEjercicio.SelectedValue}&FI=01/01/{DdlEjercicio.SelectedValue}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue.ToEntero}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Importe.ToString("###,###,##0"), Importe.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
'If e.Row.Cells(Index + 1).Text.ToDecimal = 0 Then
|
||||||
|
' e.Row.Cells(Index + 1).Text = "-"
|
||||||
|
'ElseIf e.Row.Cells(Index + 1).Text.ToDecimal < 0 Then
|
||||||
|
' e.Row.Cells(Index + 1).ForeColor = Drawing.Color.Red
|
||||||
|
|
||||||
|
'End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Index += 1
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
'Index = 4
|
||||||
|
|
||||||
|
'For Each DRow As DataRow In DTHeaders.Rows
|
||||||
|
|
||||||
|
' Dim Importe As Decimal = e.Row.DBCampo($"SubProyecto{DRow("SubProyecto")}").ToDecimal
|
||||||
|
' 'Dim Anio As Integer = DRow("SubProyecto").ToString.ToEntero
|
||||||
|
|
||||||
|
' If Importe > 0 Then
|
||||||
|
' e.Row.Cells(Index).Text = $"<a { If(Importe < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF=31/12/{DdlEjercicio.SelectedValue}&FI=01/01/{DdlEjercicio.SelectedValue}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue.ToEntero}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Importe.ToString("###,###,##0"), Importe.ToString("###,###,###.00")) }</a>"
|
||||||
|
' Else
|
||||||
|
' e.Row.Cells(Index).Text = "-"
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' If e.Row.Cells(Index + 1).Text.ToDecimal = 0 Then
|
||||||
|
|
||||||
|
' e.Row.Cells(Index + 1).Text = "-"
|
||||||
|
|
||||||
|
' ElseIf e.Row.Cells(Index + 1).Text.ToDecimal < 0 Then
|
||||||
|
' e.Row.Cells(Index + 1).ForeColor = Drawing.Color.Red
|
||||||
|
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' If e.Row.Cells(Index + 2).Text.Replace("%", "").ToDecimal = 0 Then
|
||||||
|
' e.Row.Cells(Index + 2).Text = "-"
|
||||||
|
' ElseIf e.Row.Cells(Index + 2).Text.Replace("%", "").ToDecimal < 0 Then
|
||||||
|
' e.Row.Cells(Index + 2).ForeColor = Drawing.Color.Red
|
||||||
|
' End If
|
||||||
|
|
||||||
|
' Index += 1
|
||||||
|
|
||||||
|
'Next
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
' e.Row.Cells(1).Style.Add("text-indent", $"{e.Row.DBCampo("Level").ToString.ToEntero * 2}em")
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub setgraficaCC(e As GridViewRowEventArgs)
|
Public Sub setgraficaCC(e As GridViewRowEventArgs)
|
||||||
@@ -198,7 +339,7 @@ Partial Class Contabilidad2_RepAnexoCatalogoCC
|
|||||||
SubProyecto = DdlSubProyecto.SelectedItem.Text
|
SubProyecto = DdlSubProyecto.SelectedItem.Text
|
||||||
End If
|
End If
|
||||||
|
|
||||||
GvCC.ExportToExcelGembox("AnexoCatálogoMensual", UsuarioActual, $"01/01/{DdlEjercicio.SelectedValue}", $"31/12/{DdlEjercicio.SelectedValue}", "Anexo del Catálogo - Mensual", SubProyecto, DdlDivisor.SelectedValue.ToEntero, DatoTituloExtra:=$"Periodo {DdlPeriodo.SelectedItem.Text}")
|
GvCC.ExportToExcelGembox("AnexoCatálogoMensual", UsuarioActual, $"01/01/{DdlEjercicio.SelectedValue}", $"31/12/{DdlEjercicio.SelectedValue}", $"Estado de Resultados Horizontal por {LblSubProyecto.Text}", SubProyecto, DdlDivisor.SelectedValue.ToEntero, DatoTituloExtra:=$"Periodo {DdlPeriodo.SelectedItem.Text}")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -121,6 +121,7 @@
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div style="background-color: #fff;">
|
<div style="background-color: #fff;">
|
||||||
<asp:GridView ID="GvMensual2" runat="server" AutoGenerateColumns="False" ShowHeader="true" EmptyDataText="No se encontraron datos" GridLines="none"
|
<asp:GridView ID="GvMensual2" runat="server" AutoGenerateColumns="False" ShowHeader="true" EmptyDataText="No se encontraron datos" GridLines="none"
|
||||||
|
DataKeyNames="Level,CveCuenta"
|
||||||
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="2" data-heightmenos="300">
|
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="2" data-heightmenos="300">
|
||||||
<Columns>
|
<Columns>
|
||||||
|
|
||||||
@@ -263,7 +264,7 @@
|
|||||||
} else {
|
} else {
|
||||||
CargaGraficaPastel();
|
CargaGraficaPastel();
|
||||||
}
|
}
|
||||||
$('.LblTituloGrafica').text($(obj).parent().parent().text().trim());
|
$('.LblTituloGrafica').text($(obj).closest('tr').text().trim());
|
||||||
}
|
}
|
||||||
function CargaGraficaBarras() {
|
function CargaGraficaBarras() {
|
||||||
let data = cdatos;
|
let data = cdatos;
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ Partial Class Contabilidad2_RepAnexoCatalogoMensual
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
RegistraScript($"LimpiaCeros();")
|
'RegistraScript($"LimpiaCeros();")
|
||||||
Conta.Dispose()
|
Conta.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -183,9 +183,127 @@ Partial Class Contabilidad2_RepAnexoCatalogoMensual
|
|||||||
If e.Row.RowIndex = 0 Then
|
If e.Row.RowIndex = 0 Then
|
||||||
e.Row.Style.Add("font-weight", "bold")
|
e.Row.Style.Add("font-weight", "bold")
|
||||||
End If
|
End If
|
||||||
setgrafica(e)
|
setgrafica(e)
|
||||||
e.Row.Cells(1).Style.Add("text-indent", $"{e.Row.DBCampo("Level").ToString.ToEntero * 2}em")
|
|
||||||
|
|
||||||
|
If e.Row.DataKey("Level").ToEntero = 0 Then
|
||||||
|
e.Row.CssClass = "Totales"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If e.Row.DataKey("Level").ToEntero = 1 Then
|
||||||
|
e.Row.CssClass = "SubTotales"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
Dim Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre, Octubre, Noviembre, Diciembre As Decimal
|
||||||
|
|
||||||
|
|
||||||
|
Enero = e.Row.DBCampo("Enero").ToDecimal()
|
||||||
|
Febrero = e.Row.DBCampo("Febrero").ToDecimal()
|
||||||
|
Marzo = e.Row.DBCampo("Marzo").ToDecimal()
|
||||||
|
Abril = e.Row.DBCampo("Abril").ToDecimal()
|
||||||
|
Mayo = e.Row.DBCampo("Mayo").ToDecimal()
|
||||||
|
Junio = e.Row.DBCampo("Junio").ToDecimal()
|
||||||
|
Julio = e.Row.DBCampo("Julio").ToDecimal()
|
||||||
|
Agosto = e.Row.DBCampo("Agosto").ToDecimal()
|
||||||
|
Septiembre = e.Row.DBCampo("Septiembre").ToDecimal()
|
||||||
|
Octubre = e.Row.DBCampo("Octubre").ToDecimal()
|
||||||
|
Noviembre = e.Row.DBCampo("Noviembre").ToDecimal()
|
||||||
|
Diciembre = e.Row.DBCampo("Diciembre").ToDecimal()
|
||||||
|
|
||||||
|
|
||||||
|
Dim CveCunetaRow As Integer = e.Row.DataKey("CveCuenta").ToEntero
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
For x = 2 To GvMensual2.Columns.Count - 1
|
||||||
|
|
||||||
|
If e.Row.Cells(x).Text.Replace("%", "").ToDecimal = 0 Then
|
||||||
|
e.Row.Cells(x).Text = "-"
|
||||||
|
ElseIf e.Row.Cells(x).Text.Replace("%", "").ToDecimal < 0 Then
|
||||||
|
e.Row.Cells(x).ForeColor = Drawing.Color.Red
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If x = 2 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/01/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/01/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 3 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Febrero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/02/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/02/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Febrero.ToString("###,###,##0"), Febrero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 6 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Marzo < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/03/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/03/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Marzo.ToString("###,###,##0"), Marzo.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 10 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Abril < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/04/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/04/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Abril.ToString("###,###,##0"), Abril.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 14 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Marzo < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/05/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/05/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Marzo.ToString("###,###,##0"), Marzo.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If x = 17 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/06/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/06/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If x = 21 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/07/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/07/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 24 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/08/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/08/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If x = 28 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/09/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/09/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
If x = 32 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/10/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/10/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 35 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/11/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/11/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
If x = 38 Then
|
||||||
|
e.Row.Cells(x).Text = $"<a { If(Enero < 0, "style='color:Red;'", "style='color:#337ab7;'") } target='_blank' href='./RepAnexoCatalogo.aspx?CveCuenta={CveCunetaRow}&FF={ $"01/12/{DdlEjercicio.SelectedValue}".ToDate.LastDayOfMonth.ToShortDateString }&FI=01/12/{DdlEjercicio}&ER=1&CveSubProyecto={DdlSubProyecto.SelectedValue}' >{ If(DdlDivisor.SelectedValue.ToEntero > 1, Enero.ToString("###,###,##0"), Enero.ToString("###,###,###.00")) }</a>"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Next
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
If Enero = 0 Then
|
||||||
|
e.Row.Cells(2).Text = "-"
|
||||||
|
Else
|
||||||
|
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
' e.Row.Cells(1).Style.Add("text-indent", $"{e.Row.DBCampo("Level").ToString.ToEntero * 2}em")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
' Level 0 Total 1 SubTotal 1
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepEstadoResultadosHorizontal.aspx.vb" Inherits="Contabilidad_RepEstadoResultadosHorizontal" EnableEventValidation="false" %>
|
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepEstadoResultadosHorizontal.aspx.vb" Inherits="Contabilidad_RepEstadoResultadosHorizontal" %>
|
||||||
|
|
||||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
@@ -9,11 +9,35 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
|
#chartdivgral{
|
||||||
|
width: 100%;
|
||||||
|
min-height: 500px;
|
||||||
|
|
||||||
|
}
|
||||||
.fa.fa-bar-chart {
|
.fa.fa-bar-chart {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*#grafInfo .chksino label {
|
||||||
|
margin-left: -95px;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
.chksino label::before {
|
||||||
|
content: 'B';
|
||||||
|
}
|
||||||
|
|
||||||
|
.chksino label::after {
|
||||||
|
content: 'L';
|
||||||
|
}
|
||||||
|
|
||||||
|
.chkgraf {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.showgrph .chkgraf {
|
||||||
|
visibility: inherit;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
||||||
@@ -25,6 +49,9 @@
|
|||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Generar Excel</asp:LinkButton>
|
<asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Generar Excel</asp:LinkButton>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<asp:HyperLink NavigateUrl="javascript:graficarshow();" runat="server"><i class="fa fa-bar-chart" aria-hidden="true"></i> Graficar</asp:HyperLink>
|
||||||
|
</li>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
||||||
|
|
||||||
@@ -87,9 +114,12 @@
|
|||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label class="col-md-2" style="width: 80px;" runat="server" id="LblTri" visible="true">Trimestre<br> Cuatrimestre: </label>
|
<label class="col-md-2" style="width: 80px;" runat="server" id="LblTri">
|
||||||
<div class="col-md-1 " runat="server" id="DVTri" visible="false">
|
Trimestre<br>
|
||||||
<asp:DropDownList ID="DdlTri" runat="server" CssClass="select2me" Width="100px" >
|
Cuatrimestre:
|
||||||
|
</label>
|
||||||
|
<div class="col-md-1 " runat="server" id="DVTri">
|
||||||
|
<asp:DropDownList ID="DdlTri" runat="server" CssClass="select2me" Width="100px" AutoPostBack="true">
|
||||||
<asp:ListItem Value="0">NO</asp:ListItem>
|
<asp:ListItem Value="0">NO</asp:ListItem>
|
||||||
<asp:ListItem Value="1">Trimestre</asp:ListItem>
|
<asp:ListItem Value="1">Trimestre</asp:ListItem>
|
||||||
<asp:ListItem Value="2">Cuatrimestre</asp:ListItem>
|
<asp:ListItem Value="2">Cuatrimestre</asp:ListItem>
|
||||||
@@ -220,6 +250,7 @@
|
|||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>--%>
|
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>--%>
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
|
|
||||||
@@ -250,7 +281,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="T1" Visible="false">
|
<asp:TemplateField HeaderText="T1" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLTri1" runat="server" Text='<%# Eval("Tri1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLTri1" runat="server" Text='<%# Eval("Tri1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -264,7 +295,7 @@
|
|||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="C1" Visible="false">
|
<asp:TemplateField HeaderText="C1" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua1" runat="server" Text='<%# Eval("Cua1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua1" runat="server" Text='<%# Eval("Cua1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -304,7 +335,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="C2" Visible="false">
|
<asp:TemplateField HeaderText="C2" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua2" runat="server" Text='<%# Eval("Cua2", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua2" runat="server" Text='<%# Eval("Cua2", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -345,7 +376,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="T4" Visible="false">
|
<asp:TemplateField HeaderText="T4" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLTri4" runat="server" Text='<%# Eval("Tri4", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLTri4" runat="server" Text='<%# Eval("Tri4", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -353,8 +384,8 @@
|
|||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="C3" Visible="false">
|
<asp:TemplateField HeaderText="C3" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua3" runat="server" Text='<%# Eval("Cua3", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua3" runat="server" Text='<%# Eval("Cua3", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -382,12 +413,13 @@
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<asp:GridView ID="GvGastosMesH" runat="server" AutoGenerateColumns="False" DataKeyNames="CveCuenta,Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre,PorcentajeAcumulado" OnRowDataBound="GvGastosMesH_RowDataBound" ShowHeaderWhenEmpty="true" CssClass="table table-striped table-hover Widthall" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
<asp:GridView ID="GvGastosMesH" runat="server" AutoGenerateColumns="False" DataKeyNames="CveCuenta,Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre,PorcentajeAcumulado" OnRowDataBound="GvGastosMesH_RowDataBound" ShowHeaderWhenEmpty="true" CssClass="table table-striped table-hover Widthall" Style="margin-top: -10px; text-align: center;" GridLines="None">
|
||||||
|
|
||||||
<Columns>
|
<Columns>
|
||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
|
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -398,7 +430,7 @@
|
|||||||
<HeaderStyle HorizontalAlign="Left" Width="400px" />
|
<HeaderStyle HorizontalAlign="Left" Width="400px" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Enero">
|
<asp:TemplateField HeaderText="Enero">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLEnero" runat="server" Text='<%# Eval("Enero", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLEnero" runat="server" Text='<%# Eval("Enero", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -416,7 +448,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="T1" Visible="false">
|
<asp:TemplateField HeaderText="T1" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLTri1" runat="server" Text='<%# Eval("Tri1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLTri1" runat="server" Text='<%# Eval("Tri1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -430,7 +462,7 @@
|
|||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="C1" Visible="false">
|
<asp:TemplateField HeaderText="C1" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua1" runat="server" Text='<%# Eval("Cua1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua1" runat="server" Text='<%# Eval("Cua1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -469,7 +501,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="C2" Visible="false">
|
<asp:TemplateField HeaderText="C2" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua2" runat="server" Text='<%# Eval("Cua2", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua2" runat="server" Text='<%# Eval("Cua2", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -510,7 +542,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="T4" Visible="false">
|
<asp:TemplateField HeaderText="T4" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLTri4" runat="server" Text='<%# Eval("Tri4", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLTri4" runat="server" Text='<%# Eval("Tri4", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -518,8 +550,8 @@
|
|||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="C3" Visible="false">
|
<asp:TemplateField HeaderText="C3" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua3" runat="server" Text='<%# Eval("Cua3", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua3" runat="server" Text='<%# Eval("Cua3", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -552,6 +584,7 @@
|
|||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>
|
<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -562,7 +595,7 @@
|
|||||||
<ItemStyle HorizontalAlign="Left" Width="400px" />
|
<ItemStyle HorizontalAlign="Left" Width="400px" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Enero">
|
<asp:TemplateField HeaderText="Enero">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLEnero" runat="server" Text='<%# Eval("Enero", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLEnero" runat="server" Text='<%# Eval("Enero", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -580,7 +613,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Tri1" Visible="false">
|
<asp:TemplateField HeaderText="Tri1" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLTri1" runat="server" Text='<%# Eval("Tri1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLTri1" runat="server" Text='<%# Eval("Tri1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -594,7 +627,7 @@
|
|||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Cua1" Visible="false">
|
<asp:TemplateField HeaderText="Cua1" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua1" runat="server" Text='<%# Eval("Cua1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua1" runat="server" Text='<%# Eval("Cua1", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -633,7 +666,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Cua2" Visible="false">
|
<asp:TemplateField HeaderText="Cua2" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua2" runat="server" Text='<%# Eval("Cua2", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua2" runat="server" Text='<%# Eval("Cua2", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -674,7 +707,7 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Tri4" Visible="false">
|
<asp:TemplateField HeaderText="Tri4" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLTri4" runat="server" Text='<%# Eval("Tri4", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLTri4" runat="server" Text='<%# Eval("Tri4", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -682,8 +715,8 @@
|
|||||||
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
<ItemStyle Width="150px" HorizontalAlign="Right" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Cua3" Visible="false">
|
<asp:TemplateField HeaderText="Cua3" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HLCua3" runat="server" Text='<%# Eval("Cua3", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLCua3" runat="server" Text='<%# Eval("Cua3", "{0:N2}")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -750,6 +783,7 @@
|
|||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>' Width="238px" ></asp:Label>--%>
|
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>' Width="238px" ></asp:Label>--%>
|
||||||
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -804,6 +838,7 @@
|
|||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>' Width="238px"></asp:Label>--%>
|
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>' Width="238px"></asp:Label>--%>
|
||||||
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
@@ -867,6 +902,7 @@
|
|||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>' Width="238px"></asp:Label>
|
<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>' Width="238px"></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
@@ -962,16 +998,16 @@
|
|||||||
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="1" data-heightmenos="300"
|
CssClass="ADSCROLLER2 table table-striped table-advance table-hover" data-cols="1" data-heightmenos="300"
|
||||||
Style="margin-top: -10px; text-align: center;" GridLines="None">
|
Style="margin-top: -10px; text-align: center;" GridLines="None">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField HeaderStyle-HorizontalAlign="Left">
|
||||||
<ItemTemplate>
|
|
||||||
<%--<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>--%>
|
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);" ><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
|
||||||
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
|
||||||
</ItemTemplate>
|
|
||||||
<ItemStyle HorizontalAlign="Left" />
|
|
||||||
<HeaderTemplate>
|
<HeaderTemplate>
|
||||||
<asp:Label ID="LbTitulo" runat="server" Style="padding-left: 20px;" Font-Size="14px" Text="INGRESOS Y OTROS BENEFICIOS"></asp:Label>
|
<asp:Label ID="LbTitulo" runat="server" Style="padding-left: 20px;" Font-Size="14px" Text="INGRESOS Y OTROS BENEFICIOS"></asp:Label>
|
||||||
</HeaderTemplate>
|
</HeaderTemplate>
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
|
<asp:HyperLink ID="HLNombre" runat="server" Text='<%# Eval("Nombre")%>' CssClass="Texto" Target="_blank"></asp:HyperLink>
|
||||||
|
</ItemTemplate>
|
||||||
|
<ItemStyle HorizontalAlign="Left" />
|
||||||
<HeaderStyle HorizontalAlign="Left" Width="291px" />
|
<HeaderStyle HorizontalAlign="Left" Width="291px" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
@@ -1035,14 +1071,15 @@
|
|||||||
<Columns>
|
<Columns>
|
||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<ItemTemplate>
|
|
||||||
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
|
||||||
<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>
|
|
||||||
</ItemTemplate>
|
|
||||||
<ItemStyle HorizontalAlign="Left" />
|
<ItemStyle HorizontalAlign="Left" />
|
||||||
<HeaderTemplate>
|
<HeaderTemplate>
|
||||||
<asp:Label ID="LbTitulo" runat="server" Style="padding-left: 20px;" Font-Size="14px" Text="GASTOS Y OTRAS PÉRDIDAS"></asp:Label>
|
<asp:Label ID="LbTitulo" runat="server" Style="padding-left: 20px;" Font-Size="14px" Text="GASTOS Y OTRAS PÉRDIDAS"></asp:Label>
|
||||||
</HeaderTemplate>
|
</HeaderTemplate>
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:CheckBox ID="chkgraf" CssClass="chkgraf" runat="server" />
|
||||||
|
<asp:HyperLink ID="Hypgrafica" runat="server" CssClass="Texto Hypgrafica" NavigateUrl="javascript:void(0);" onclick="return HandlerGraf(this, event);"><i class="fa fa-bar-chart" aria-hidden="true"></i></asp:HyperLink>
|
||||||
|
<asp:Label ID="LbNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
<HeaderStyle HorizontalAlign="Left" Width="400px" />
|
<HeaderStyle HorizontalAlign="Left" Width="400px" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
@@ -1213,6 +1250,45 @@
|
|||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="DivModalGraficaGral" class="modal ADS fade" role="dialog">
|
||||||
|
<asp:UpdatePanel class="modal-dialog modal-lg" style="width: 1300px" runat="server" ID="UpdatePanel1" UpdateMode="Conditional">
|
||||||
|
<ContentTemplate>
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
|
<h4 class="modal-title">
|
||||||
|
<asp:Label CssClass="LblTituloGraficaGral" runat="server" ClientIDMode="Static" Text="">Análisis de estados de resultados</asp:Label>
|
||||||
|
</h4>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-1"></div>
|
||||||
|
<label class="col-md-2 truncate" style="display: inline-block; padding-top: 8px; font-weight: bold;">Seleccione el tipo de gráfica:</label>
|
||||||
|
<div class="col-md-4">
|
||||||
|
<asp:RadioButtonList ID="rdblistgrafica" CssClass="rdblistgrafica" runat="server" RepeatDirection="Horizontal">
|
||||||
|
<asp:ListItem Selected="True" Text="Barras" Value="1"></asp:ListItem>
|
||||||
|
<asp:ListItem Text="Lineas" Value="2"></asp:ListItem>
|
||||||
|
</asp:RadioButtonList>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-3">
|
||||||
|
<div id="grafInfo"></div>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-9">
|
||||||
|
<div id="chartdivgral"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</ContentTemplate>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
</div>
|
||||||
|
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
||||||
|
|
||||||
@@ -1226,15 +1302,15 @@
|
|||||||
<script>
|
<script>
|
||||||
let cdatos;
|
let cdatos;
|
||||||
let currentid = 1;
|
let currentid = 1;
|
||||||
function HandlerGraf(obj, evt) {
|
function HandlerGraf(obj, evt) {
|
||||||
$("#DivModalGrafica").modal();
|
$("#DivModalGrafica").modal();
|
||||||
cdatos = $(obj).data('values');
|
cdatos = $(obj).data('values');
|
||||||
if (currentid == 1) {
|
if (currentid == 1) {
|
||||||
CargaGraficaBarras();
|
CargaGraficaBarras();
|
||||||
} else {
|
} else {
|
||||||
CargaGraficaPastel();
|
CargaGraficaPastel();
|
||||||
}
|
}
|
||||||
$('.LblTituloGrafica').text($(obj).parent().text());
|
$('.LblTituloGrafica').text($(obj).parent().text());
|
||||||
}
|
}
|
||||||
function CargaGraficaBarras() {
|
function CargaGraficaBarras() {
|
||||||
let data = cdatos;
|
let data = cdatos;
|
||||||
@@ -1292,16 +1368,226 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
function ADSBegin() {
|
function ADSBegin() {
|
||||||
$('.DdlGrafica').on('select2:select', function (e) {
|
$('.DdlGrafica').on('select2:select', function (e) {
|
||||||
var data = e.params.data;
|
var data = e.params.data;
|
||||||
currentid = data.id;
|
currentid = data.id;
|
||||||
if (currentid == 1) {
|
if (currentid == 1) {
|
||||||
CargaGraficaBarras();
|
CargaGraficaBarras();
|
||||||
} else {
|
} else {
|
||||||
CargaGraficaPastel();
|
CargaGraficaPastel();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('.DdlGrafica').removeClass('DdlGrafica')
|
$(".rdblistgrafica:not(.clicked) input").change(cargaGraficaBarras2);
|
||||||
|
|
||||||
|
$('.rdblistgrafica').addClass('clicked')
|
||||||
|
$('.DdlGrafica').removeClass('DdlGrafica')
|
||||||
|
|
||||||
|
|
||||||
|
initamgrafica();
|
||||||
}
|
}
|
||||||
|
let objetos;
|
||||||
|
let Colores = ["#FF0F00", "#FF6600", "#F8FF01", "#04D215", "#2A0CD0", "#8A0CCF", "#CD0D74", "#754DEB", "#DDDDDD", "#999999", "#000000"];
|
||||||
|
|
||||||
|
function graficarshow() {
|
||||||
|
$('.btngraficarborrar').remove();
|
||||||
|
$('#C_Tab_header').append('<a onclick="cargaGraficaBarras2();" class="btn btn-success btngraficarborrar" style="float:right;"><i class="fa fa-bar-chart" aria-hidden="true"></i> Graficar</a>');
|
||||||
|
$('#C_Tab_body').addClass('showgrph');
|
||||||
|
}
|
||||||
|
function cargaGraficaBarras2(Titulo) {
|
||||||
|
$('.LblTituloGraficaGral').text(Titulo);
|
||||||
|
cargaGraficaBarras2();
|
||||||
|
}
|
||||||
|
function cargaGraficaBarras2() {
|
||||||
|
|
||||||
|
//Hypgrafica
|
||||||
|
$("#DivModalGraficaGral").modal();
|
||||||
|
let infogral = $('#grafInfo');
|
||||||
|
infogral.find('>*').remove();
|
||||||
|
let items = []
|
||||||
|
let data;
|
||||||
|
let icolor = 0;
|
||||||
|
let tipografica = $('.rdblistgrafica input:checked').val();
|
||||||
|
|
||||||
|
$('.ajax__tab_panel:visible .chkgraf input:checked').each(function () {
|
||||||
|
data = $(this).closest('tr').find('.Hypgrafica').data('values')
|
||||||
|
let name = $(this).closest('td').text().trim()
|
||||||
|
items.push({ id: icolor, data: data, name: name, Color: Colores[icolor], tipografica })
|
||||||
|
gettitlegraf(infogral, icolor, Colores[icolor], name, tipografica);
|
||||||
|
icolor = icolor + 1;
|
||||||
|
if (icolor >= Colores.length) { icolor = 0; }
|
||||||
|
});
|
||||||
|
objetos = items;
|
||||||
|
|
||||||
|
$(".chkonchange input").each(function () {
|
||||||
|
let _this = $(this)
|
||||||
|
_this.change(function () {
|
||||||
|
let _this = $(this)
|
||||||
|
let id = Number(_this.data('id'))
|
||||||
|
objetos[id].tipografica = _this.is(':checked') ? 1 : 2;
|
||||||
|
ShowGraf2();
|
||||||
|
})
|
||||||
|
});
|
||||||
|
$(function () {
|
||||||
|
$('.chkonchange').tooltip()
|
||||||
|
});
|
||||||
|
ShowGraf2();
|
||||||
|
}
|
||||||
|
function gettitlegraf(infogral, id, Color, name, tipografica) {
|
||||||
|
let strtipografica = '<span class="chksino chkonchange" data-html="true" data-original-title="<div style=\'white-space:nowrap;\'>\'B\' Barras / \'L\' Lineas </div>" ><input id="chk' + id + '" ' + (tipografica == 1 ? 'checked="checked"' : '"') + ' data-id="' + id + '" type="checkbox" name="nchk' + id + '"><label for="chk' + id + '"> </label></span>';
|
||||||
|
|
||||||
|
let contenedor = $("<div class='row'></div>");
|
||||||
|
let divcolspan = $("<div class='col-md-1'></div>");
|
||||||
|
let divcolor = $('<div class="col-md-1"><div style="width:20px;height:10px;background-color:' + Color + ';"></div> </div>');
|
||||||
|
let divtexto = $("<div class='col-md-6'>" + name + "</div>");
|
||||||
|
let divtipografica = $("<div class='col-md-4'>" + strtipografica + "</div>");
|
||||||
|
infogral.append(contenedor);
|
||||||
|
/*contenedor.append(divcolspan);*/ contenedor.append(divcolor); contenedor.append(divtexto); contenedor.append(divtipografica);
|
||||||
|
}
|
||||||
|
function ShowGraf2() {
|
||||||
|
let items = objetos;
|
||||||
|
let series = [];
|
||||||
|
if (items) {
|
||||||
|
data = items[0].data;
|
||||||
|
series.push((
|
||||||
|
(items[0].tipografica == 1) ?
|
||||||
|
{
|
||||||
|
"balloonText": "[[title]]: <b>[[value]]</b> [[Moneda]]",
|
||||||
|
"colorField": "Color",
|
||||||
|
"fillAlphas": 1,
|
||||||
|
"lineAlpha": 0.1,
|
||||||
|
"type": "column",
|
||||||
|
"title": items[0].name,
|
||||||
|
"valueField": 'Valor'
|
||||||
|
} :
|
||||||
|
{
|
||||||
|
"balloonText": "[[title]]: <b>[[value]]</b> [[Moneda]]",
|
||||||
|
"colorField": "Color",
|
||||||
|
"bullet": "round",
|
||||||
|
"dashLength": 3,
|
||||||
|
"colorField": "color",
|
||||||
|
"type": "line",
|
||||||
|
"title": items[0].name,
|
||||||
|
"valueField": "Valor"
|
||||||
|
}
|
||||||
|
));
|
||||||
|
|
||||||
|
for (var i = 0; i < data.length; i++) {
|
||||||
|
data[i]['Color'] = items[0].Color
|
||||||
|
}
|
||||||
|
|
||||||
|
for (var indexcol = 1; indexcol < items.length; indexcol++) {
|
||||||
|
let cdatos = items[indexcol].data;
|
||||||
|
let valueField = 'Valor' + indexcol;
|
||||||
|
let colorField = 'Color' + indexcol;
|
||||||
|
let tipografica = "column";
|
||||||
|
for (var i = 0; i < cdatos.length; i++) {
|
||||||
|
data[i][valueField] = cdatos[i].Valor
|
||||||
|
data[i][colorField] = items[indexcol].Color
|
||||||
|
}
|
||||||
|
series.push((
|
||||||
|
(items[indexcol].tipografica == 1) ?
|
||||||
|
{
|
||||||
|
"balloonText": "[[title]]: <b>[[value]]</b> [[Moneda]]",
|
||||||
|
"colorField": colorField,
|
||||||
|
"fillAlphas": 1,
|
||||||
|
"lineAlpha": 0.1,
|
||||||
|
"type": "column",
|
||||||
|
"title": items[indexcol].name,
|
||||||
|
"valueField": valueField
|
||||||
|
} :
|
||||||
|
{
|
||||||
|
"balloonText": "[[title]]: <b>[[value]]</b> [[Moneda]]",
|
||||||
|
"colorField": colorField,
|
||||||
|
"bullet": "round",
|
||||||
|
"dashLength": 3,
|
||||||
|
"colorField": "color",
|
||||||
|
"type": "line",
|
||||||
|
"title": items[indexcol].name,
|
||||||
|
"valueField": valueField
|
||||||
|
}
|
||||||
|
));
|
||||||
|
}
|
||||||
|
var chart = AmCharts.makeChart("chartdivgral", {
|
||||||
|
"type": "serial",
|
||||||
|
"theme": "light",
|
||||||
|
"dataProvider": data,
|
||||||
|
"startDuration": 2, "legend": {
|
||||||
|
|
||||||
|
"generateFromData": true // "data": data.map(function(num) { return {title:num.Texto ,color:num.Color}; })
|
||||||
|
},
|
||||||
|
"valueAxes": [{
|
||||||
|
"position": "left",
|
||||||
|
"title": "Ventas"
|
||||||
|
}],
|
||||||
|
"graphs": series,
|
||||||
|
"depth3D": 20,
|
||||||
|
"angle": 30,
|
||||||
|
"chartCursor": {
|
||||||
|
"categoryBalloonEnabled": false,
|
||||||
|
"cursorAlpha": 0,
|
||||||
|
"zoomable": false
|
||||||
|
},
|
||||||
|
"categoryField": "Texto",
|
||||||
|
"categoryAxis": {
|
||||||
|
"gridPosition": "start",
|
||||||
|
"labelRotation": 90
|
||||||
|
},
|
||||||
|
"export": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function initamgrafica() {
|
||||||
|
AmCharts.addInitHandler(function (chart) {
|
||||||
|
function handleCustomMarkerToggle(legendEvent) {
|
||||||
|
var dataProvider = legendEvent.chart.dataProvider;
|
||||||
|
var itemIndex;
|
||||||
|
legendEvent.chart.toggleLegend = true;
|
||||||
|
if (undefined !== legendEvent.dataItem.hidden && legendEvent.dataItem.hidden) {
|
||||||
|
legendEvent.dataItem.hidden = false;
|
||||||
|
dataProvider.push(legendEvent.dataItem.storedObj);
|
||||||
|
legendEvent.dataItem.storedObj = undefined;
|
||||||
|
dataProvider.sort(function (lhs, rhs) {
|
||||||
|
return lhs.dataIdx - rhs.dataIdx;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
legendEvent.dataItem.hidden = true;
|
||||||
|
for (var i = 0; i < dataProvider.length; ++i) {
|
||||||
|
if (dataProvider[i].dataIdx === legendEvent.dataItem.dataIdx) {
|
||||||
|
itemIndex = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
legendEvent.dataItem.storedObj = dataProvider[itemIndex];
|
||||||
|
dataProvider.splice(itemIndex, 1);
|
||||||
|
}
|
||||||
|
legendEvent.chart.validateData();
|
||||||
|
}
|
||||||
|
if (!chart.legend || !chart.legend.enabled || !chart.legend.generateFromData) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var categoryField = chart.categoryField;
|
||||||
|
var colorField = chart.graphs[0].lineColorField || chart.graphs[0].fillColorsField || chart.graphs[0].colorField;
|
||||||
|
var legendData = chart.dataProvider.map(function (data, idx) {
|
||||||
|
var markerData = {
|
||||||
|
"title": data[categoryField],
|
||||||
|
"color": data[colorField],
|
||||||
|
"dataIdx": idx
|
||||||
|
};
|
||||||
|
if (!markerData.color) {
|
||||||
|
markerData.color = chart.graphs[0].lineColor;
|
||||||
|
}
|
||||||
|
data.dataIdx = idx;
|
||||||
|
return markerData;
|
||||||
|
});
|
||||||
|
|
||||||
|
chart.legend.data = legendData;
|
||||||
|
chart.legend.switchable = true;
|
||||||
|
chart.legend.addListener("clickMarker", handleCustomMarkerToggle);
|
||||||
|
|
||||||
|
}, ["serial"]);
|
||||||
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -27,13 +27,13 @@
|
|||||||
<Width>2.3148cm</Width>
|
<Width>2.3148cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>2.10313cm</Width>
|
<Width>1.78563cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>2.1825cm</Width>
|
<Width>2.20896cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>2.31479cm</Width>
|
<Width>2.60583cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
</TablixColumns>
|
</TablixColumns>
|
||||||
<TablixRows>
|
<TablixRows>
|
||||||
@@ -155,13 +155,160 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
<ColSpan>5</ColSpan>
|
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
<TablixCell />
|
<TablixCell>
|
||||||
<TablixCell />
|
<CellContents>
|
||||||
<TablixCell />
|
<Textbox Name="Textbox8">
|
||||||
<TablixCell />
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>8pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox8</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<TopBorder>
|
||||||
|
<Color>Black</Color>
|
||||||
|
<Style>Solid</Style>
|
||||||
|
<Width>1pt</Width>
|
||||||
|
</TopBorder>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox15">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>8pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox15</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<TopBorder>
|
||||||
|
<Color>Black</Color>
|
||||||
|
<Style>Solid</Style>
|
||||||
|
<Width>1pt</Width>
|
||||||
|
</TopBorder>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox16">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>8pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox16</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<TopBorder>
|
||||||
|
<Color>Black</Color>
|
||||||
|
<Style>Solid</Style>
|
||||||
|
<Width>1pt</Width>
|
||||||
|
</TopBorder>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox18">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>8pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox18</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<TopBorder>
|
||||||
|
<Color>Black</Color>
|
||||||
|
<Style>Solid</Style>
|
||||||
|
<Width>1pt</Width>
|
||||||
|
</TopBorder>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="Textbox22">
|
<Textbox Name="Textbox22">
|
||||||
@@ -689,12 +836,104 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
<ColSpan>4</ColSpan>
|
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
<TablixCell />
|
<TablixCell>
|
||||||
<TablixCell />
|
<CellContents>
|
||||||
<TablixCell />
|
<Textbox Name="Textbox26">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox26</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox27">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox27</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox28">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value />
|
||||||
|
<Style>
|
||||||
|
<FontFamily>Verdana</FontFamily>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox28</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="Textbox21">
|
<Textbox Name="Textbox21">
|
||||||
@@ -1487,10 +1726,10 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox8</rd:DefaultName>
|
<rd:DefaultName>Textbox8</rd:DefaultName>
|
||||||
<Top>1.143cm</Top>
|
<Top>1.21179cm</Top>
|
||||||
<Left>18.05564cm</Left>
|
<Left>20.30461cm</Left>
|
||||||
<Height>0.92251cm</Height>
|
<Height>0.92251cm</Height>
|
||||||
<Width>2.3148cm</Width>
|
<Width>2.60583cm</Width>
|
||||||
<ZIndex>1</ZIndex>
|
<ZIndex>1</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1536,7 +1775,7 @@
|
|||||||
<rd:DefaultName>Textbox6</rd:DefaultName>
|
<rd:DefaultName>Textbox6</rd:DefaultName>
|
||||||
<Left>1.23773in</Left>
|
<Left>1.23773in</Left>
|
||||||
<Height>0.40764in</Height>
|
<Height>0.40764in</Height>
|
||||||
<Width>6.78213in</Width>
|
<Width>7.78213in</Width>
|
||||||
<ZIndex>2</ZIndex>
|
<ZIndex>2</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1579,7 +1818,7 @@
|
|||||||
<rd:DefaultName>Cuenta</rd:DefaultName>
|
<rd:DefaultName>Cuenta</rd:DefaultName>
|
||||||
<Top>0.84375in</Top>
|
<Top>0.84375in</Top>
|
||||||
<Height>0.25in</Height>
|
<Height>0.25in</Height>
|
||||||
<Width>5.42127in</Width>
|
<Width>5.50993in</Width>
|
||||||
<ZIndex>3</ZIndex>
|
<ZIndex>3</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1623,10 +1862,10 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||||
<Top>0.07022cm</Top>
|
<Top>0.03528cm</Top>
|
||||||
<Left>15.87314cm</Left>
|
<Left>16.31002cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>4.4973cm</Width>
|
<Width>3.99459cm</Width>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
<Style>None</Style>
|
<Style>None</Style>
|
||||||
|
|||||||
@@ -460,7 +460,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||||
<Top>0.9533cm</Top>
|
<Top>0.9533cm</Top>
|
||||||
<Left>0.23022cm</Left>
|
<Left>0.21008cm</Left>
|
||||||
<Height>0.66127cm</Height>
|
<Height>0.66127cm</Height>
|
||||||
<Width>9.36417cm</Width>
|
<Width>9.36417cm</Width>
|
||||||
<ZIndex>2</ZIndex>
|
<ZIndex>2</ZIndex>
|
||||||
@@ -769,10 +769,11 @@
|
|||||||
<Style>
|
<Style>
|
||||||
<FontFamily>Myriad Pro</FontFamily>
|
<FontFamily>Myriad Pro</FontFamily>
|
||||||
<FontSize>8pt</FontSize>
|
<FontSize>8pt</FontSize>
|
||||||
|
<Format>dd/MM/yyyy</Format>
|
||||||
</Style>
|
</Style>
|
||||||
</TextRun>
|
</TextRun>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>=Parameters!FechaEntrega.Value</Value>
|
<Value>=Left(Parameters!FechaEntrega.Value,10)</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontFamily>Myriad Pro</FontFamily>
|
<FontFamily>Myriad Pro</FontFamily>
|
||||||
<FontSize>8pt</FontSize>
|
<FontSize>8pt</FontSize>
|
||||||
@@ -1869,7 +1870,7 @@
|
|||||||
<Height>8.91698in</Height>
|
<Height>8.91698in</Height>
|
||||||
<Style />
|
<Style />
|
||||||
</Body>
|
</Body>
|
||||||
<Width>7.657in</Width>
|
<Width>7.66009in</Width>
|
||||||
<Page>
|
<Page>
|
||||||
<PageHeader>
|
<PageHeader>
|
||||||
<Height>3.39287cm</Height>
|
<Height>3.39287cm</Height>
|
||||||
@@ -2201,7 +2202,7 @@
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>Fecha Impresión:</Value>
|
<Value>Fecha Impresion:</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>9pt</FontSize>
|
<FontSize>9pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
@@ -2520,8 +2521,9 @@
|
|||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</ReportParameter>
|
||||||
<ReportParameter Name="FechaEntrega">
|
<ReportParameter Name="FechaEntrega">
|
||||||
<DataType>DateTime</DataType>
|
<DataType>String</DataType>
|
||||||
<Nullable>true</Nullable>
|
<Nullable>true</Nullable>
|
||||||
|
<AllowBlank>true</AllowBlank>
|
||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</ReportParameter>
|
||||||
<ReportParameter Name="ResponsableCarga">
|
<ReportParameter Name="ResponsableCarga">
|
||||||
|
|||||||
@@ -379,7 +379,7 @@ Partial Class GPS_Rastreo
|
|||||||
Dim CordenadaAnterior As String = ""
|
Dim CordenadaAnterior As String = ""
|
||||||
For Each row As DataRow In TmpDT.Rows
|
For Each row As DataRow In TmpDT.Rows
|
||||||
Contador += 1
|
Contador += 1
|
||||||
Dim Coord As String = SQLToGmaps(row("Posicion").ToString, "POINT")
|
Dim Coord As String = SQLToGmaps(row("Posicion").ToString(), "POINT")
|
||||||
Dim Velocidad As Double = row("SPD").ToString.ToDouble
|
Dim Velocidad As Double = row("SPD").ToString.ToDouble
|
||||||
|
|
||||||
Fecha = row("FechaTrama").ToString
|
Fecha = row("FechaTrama").ToString
|
||||||
|
|||||||
@@ -4204,7 +4204,7 @@ Partial Class Inventarios_EntradasSalidas
|
|||||||
TxtnSerie.Text = ""
|
TxtnSerie.Text = ""
|
||||||
TxtnLote.Text = ""
|
TxtnLote.Text = ""
|
||||||
TxtnFechaCaducidad.Text = ""
|
TxtnFechaCaducidad.Text = ""
|
||||||
DdlSeccionAlmacen.SelectedValue = "-1"
|
'DdlSeccionAlmacen.SelectedValue = "-1"
|
||||||
NumAgregados = NumAgregados + 1
|
NumAgregados = NumAgregados + 1
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -174,6 +174,8 @@
|
|||||||
<label class="col-md-2">Chofer:</label>
|
<label class="col-md-2">Chofer:</label>
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:DropDownList ID="DdlChofer" runat="server" DataTextField="Chofer" DataValueField="CveChofer" OnSelectedIndexChanged="DldChofer_SelectedIndexChanged" AutoPostBack="true" CssClass="form-control input-sm select2me" Width="100%"></asp:DropDownList>
|
<asp:DropDownList ID="DdlChofer" runat="server" DataTextField="Chofer" DataValueField="CveChofer" OnSelectedIndexChanged="DldChofer_SelectedIndexChanged" AutoPostBack="true" CssClass="form-control input-sm select2me" Width="100%"></asp:DropDownList>
|
||||||
|
<asp:RequiredFieldValidator ID="RfvDdlChofer" runat="server" Enabled="false" ControlToValidate="DdlChofer" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Chofer''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
|
<ajax:ValidatorCalloutExtender ID="VceDdlChofer" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlChofer" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
</div>
|
</div>
|
||||||
<label class="col-md-2">F. Entrega:</label>
|
<label class="col-md-2">F. Entrega:</label>
|
||||||
<div class="col-md-2" style="padding-left: 5px; padding-top: 0px;">
|
<div class="col-md-2" style="padding-left: 5px; padding-top: 0px;">
|
||||||
@@ -196,15 +198,21 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:DropDownList runat="server" ID="DdlUnidadCamion" AutoPostBack="true" Width="100%" AppendDataBoundItems="true" CssClass="form-control input-sm select2me" DataValueField="CveCamion" DataTextField="Placa"></asp:DropDownList>
|
<asp:DropDownList runat="server" ID="DdlUnidadCamion" AutoPostBack="true" Width="100%" AppendDataBoundItems="true" CssClass="form-control input-sm select2me" DataValueField="CveCamion" DataTextField="Placa"></asp:DropDownList>
|
||||||
|
<asp:RequiredFieldValidator ID="RfvDdlUnidadCamion" runat="server" Enabled="false" ControlToValidate="DdlUnidadCamion" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Unidad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
|
<ajax:ValidatorCalloutExtender ID="VceDdlUnidadCamion" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlUnidadCamion" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
</div>
|
</div>
|
||||||
<div id="divPlacaEspecificacion" runat="server">
|
<div id="divPlacaEspecificacion" runat="server">
|
||||||
<label class="col-md-2">Placa:</label>
|
<label class="col-md-2">Placa:</label>
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:TextBox runat="server" Text="" ID="TxtPlaca" CssClass="form-control" />
|
<asp:TextBox runat="server" Text="" ID="TxtPlaca" CssClass="form-control" />
|
||||||
|
<asp:RequiredFieldValidator ID="RfvTxtPlaca" runat="server" Enabled="false" ControlToValidate="TxtPlaca" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Placa''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
|
<ajax:ValidatorCalloutExtender ID="VceTxtPlaca" runat="server" HighlightCssClass="vco" TargetControlID="RfvTxtPlaca" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
</div>
|
</div>
|
||||||
<label class="col-md-2">Especificación de la Unidad:</label>
|
<label class="col-md-2">Especificación de la Unidad:</label>
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<asp:TextBox runat="server" Text="" ID="TxtEspecifUnidad" CssClass="form-control" />
|
<asp:TextBox runat="server" Text="" ID="TxtEspecifUnidad" CssClass="form-control" />
|
||||||
|
<asp:RequiredFieldValidator ID="RfvTxtEspecifUnidad" runat="server" Enabled="false" ControlToValidate="TxtEspecifUnidad" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Especificación Unidad''</b> es necesario, por favor seleccione uno." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
|
<ajax:ValidatorCalloutExtender ID="VceTxtEspecifUnidad" runat="server" HighlightCssClass="vco" TargetControlID="RfvTxtEspecifUnidad" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -383,7 +391,7 @@
|
|||||||
|
|
||||||
<th width="160px">Comandos</th>
|
<th width="160px">Comandos</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thea>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
@@ -396,6 +404,8 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<asp:DropDownList ID="DdlUnidad" runat="server" DataTextField="UnidadMedida" DataValueField="CveUnidadMedida" CssClass="form-control input-sm select2me" Style="width: 85px !important;"></asp:DropDownList>
|
<asp:DropDownList ID="DdlUnidad" runat="server" DataTextField="UnidadMedida" DataValueField="CveUnidadMedida" CssClass="form-control input-sm select2me" Style="width: 85px !important;"></asp:DropDownList>
|
||||||
|
<asp:RequiredFieldValidator ID="RfvDdlUnidad" runat="server" ControlToValidate="DdlUnidad" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Unidad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
|
<ajax:ValidatorCalloutExtender ID="VceDdlUnidad" runat="server" HighlightCssClass="vco" TargetControlID="RfvDdlUnidad" Width="350px"></ajax:ValidatorCalloutExtender>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: left;">
|
<td style="text-align: left;">
|
||||||
<asp:UpdatePanel runat="server">
|
<asp:UpdatePanel runat="server">
|
||||||
|
|||||||
@@ -209,6 +209,14 @@ Partial Class Inventarios_TraspasoAlmacen
|
|||||||
If UsuarioActual.CveEmpresa.Contiene(1, 119) Then
|
If UsuarioActual.CveEmpresa.Contiene(1, 119) Then
|
||||||
DivEmitirTimbrado.Visible = True
|
DivEmitirTimbrado.Visible = True
|
||||||
LblEmitirTimbrado.Visible = True
|
LblEmitirTimbrado.Visible = True
|
||||||
|
ChkEmitirTimbrado.Checked = True
|
||||||
|
|
||||||
|
Dim HabilitarValidators As Boolean = UsuarioActual.CveEmpresa.Contiene(119)
|
||||||
|
RfvDdlChofer.Enabled = HabilitarValidators
|
||||||
|
RfvDdlUnidadCamion.Enabled = HabilitarValidators
|
||||||
|
RfvTxtPlaca.Enabled = HabilitarValidators
|
||||||
|
RfvTxtEspecifUnidad.Enabled = HabilitarValidators
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
CantidadTotal = 0
|
CantidadTotal = 0
|
||||||
@@ -1448,6 +1456,8 @@ Partial Class Inventarios_TraspasoAlmacen
|
|||||||
TxtResponsable.Text = ""
|
TxtResponsable.Text = ""
|
||||||
TxtGastoIndirecto.Text = ""
|
TxtGastoIndirecto.Text = ""
|
||||||
RegistraScript("$('#DivTransitorio').show(200);$('#DivGastoIndirecto').show(100);$('#DivDocChofer').show(100);")
|
RegistraScript("$('#DivTransitorio').show(200);$('#DivGastoIndirecto').show(100);$('#DivDocChofer').show(100);")
|
||||||
|
|
||||||
|
ChkEmitirTimbrado.Checked = LblEmitirTimbrado.Visible
|
||||||
Else
|
Else
|
||||||
RegistraScript("$('#DivTransitorio').hide(500);$('#DivGastoIndirecto').hide(500);$('#DivDocChofer').hide(500);")
|
RegistraScript("$('#DivTransitorio').hide(500);$('#DivGastoIndirecto').hide(500);$('#DivDocChofer').hide(500);")
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ table > tr > th.adsCol, table.table > tr > th.adsCol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.AdsCHeader > .ADSCroll {
|
.AdsCHeader > .ADSCroll {
|
||||||
overflow: hidden;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.AdsBody .ADSCroll {
|
.AdsBody .ADSCroll {
|
||||||
@@ -53,10 +53,12 @@ table > tr > th.adsCol, table.table > tr > th.adsCol {
|
|||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.AdsBody .ADSCroll::-webkit-scrollbar-thumb {
|
.AdsBody .ADSCroll::-webkit-scrollbar-thumb {
|
||||||
background-color: #AAA;
|
background-color: #AAA;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
background-image: -webkit-linear-gradient(90deg, rgba(0, 0, 0, .2) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .2) 75%, transparent 75%, transparent)
|
background-color: #F5F5F5;
|
||||||
|
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.line-Lite .form-group.form-md-line-input .form-control {
|
.line-Lite .form-group.form-md-line-input .form-control {
|
||||||
@@ -700,8 +702,8 @@ div.ADScroller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ADScroller .ADScroller-body::-webkit-scrollbar {
|
.ADScroller .ADScroller-body::-webkit-scrollbar {
|
||||||
width: 8px;
|
width: 10px;
|
||||||
height: 8px;
|
height: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ADScroller .ADScroller-body::-webkit-scrollbar-track {
|
.ADScroller .ADScroller-body::-webkit-scrollbar-track {
|
||||||
@@ -2656,14 +2658,14 @@ select.select2-offscreen, select.select2-offscreen:focus {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
content: "Arrastre el archivo";
|
content: "Arrastre el archivo";
|
||||||
color: #808080;
|
color: #808080;
|
||||||
font-size: 30px;
|
font-size: 20px;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
.addropzone.dz-clickable:after {
|
.addropzone.dz-clickable:after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "o presione doble click";
|
content: "o presione doble click";
|
||||||
color: #808080;
|
color: #808080;
|
||||||
font-size: 30px;
|
font-size: 20px;
|
||||||
margin-top: 45px;
|
margin-top: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -259,14 +259,13 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="portlet-body nomarginleftright form-horizontal form-row-sepe formnombottom ">
|
<div class="portlet-body nomarginleftright form-horizontal form-row-sepe formnombottom ">
|
||||||
<asp:GridView ID="GvNominas" runat="server" DataKeyNames="CvePeriodo,CvePersonal,CveNomina,SeTimbro,SerieFolio,Nombre,Correo,Codigo,Turno,SubProyecto,NomAutorizado" AutoGenerateColumns="False" OnRowDataBound="GvNominas_RowDataBound"
|
<asp:GridView ID="GvNominas" runat="server" DataKeyNames="CvePeriodo,CvePersonal,CveNomina,SeTimbro,SerieFolio,Nombre,Correo,Codigo,Turno,SubProyecto,NomAutorizado" AutoGenerateColumns="False" OnRowDataBound="GvNominas_RowDataBound"
|
||||||
CssClass="table table-striped table-advance table-hover mysmallbtn ScrollAD Widthall GvNominas" Style="text-align: center;" GridLines="None"
|
CssClass="table table-striped table-advance table-hover mysmallbtn ScrollAD Widthall GvNominas" Style="text-align: center;" GridLines="None" data-cols="2" data-rows="2">
|
||||||
data-rows="1">
|
|
||||||
<Columns>
|
<Columns>
|
||||||
|
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
<HeaderTemplate></HeaderTemplate>
|
<HeaderTemplate></HeaderTemplate>
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:LinkButton ID="LnkSobreRecibo" OnClick="LnkSobreRecibo_Click" runat="server"><i class='fa fa-list-alt'></i></asp:LinkButton>
|
<asp:LinkButton ID="LnkSobreRecibo" OnClick="LnkSobreRecibo_Click" runat="server"><i class='fa fa-list-alt'></i></asp:LinkButton>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="20px" HorizontalAlign="Left" />
|
<ItemStyle Width="20px" HorizontalAlign="Left" />
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|||||||
@@ -310,7 +310,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
|
|
||||||
GvNominas.Columns[CurrentColumn].HeaderStyle.CssClass = "isOnlyVisible ";
|
GvNominas.Columns[CurrentColumn].HeaderStyle.CssClass = "isOnlyVisible ";
|
||||||
}
|
}
|
||||||
GvNominas.Columns[CurrentColumn].Visible = (dtempleados.SUM(string.Format("[V_{0}]", CveConcepto)) > 0);
|
GvNominas.Columns[CurrentColumn].Visible = (dtempleados.SUM(string.Format("[V_{0}]", CveConcepto)) != 0);
|
||||||
bf = (BoundField)GvNominas.Columns[CurrentColumn];
|
bf = (BoundField)GvNominas.Columns[CurrentColumn];
|
||||||
bf.DataField = string.Format("V_{0}", CveConcepto);
|
bf.DataField = string.Format("V_{0}", CveConcepto);
|
||||||
bf.HeaderText = Concepto;
|
bf.HeaderText = Concepto;
|
||||||
@@ -342,7 +342,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
{
|
{
|
||||||
GvNominas.Columns[CurrentColumn].HeaderStyle.CssClass = "isOnlyVisible ";
|
GvNominas.Columns[CurrentColumn].HeaderStyle.CssClass = "isOnlyVisible ";
|
||||||
}
|
}
|
||||||
GvNominas.Columns[CurrentColumn].Visible = (dtempleados.SUM(string.Format("[V_{0}]", CveConcepto)) > 0);
|
GvNominas.Columns[CurrentColumn].Visible = (dtempleados.SUM(string.Format("[V_{0}]", CveConcepto)) != 0);
|
||||||
bf = (BoundField)GvNominas.Columns[CurrentColumn];
|
bf = (BoundField)GvNominas.Columns[CurrentColumn];
|
||||||
bf.DataField = string.Format("V_{0}", CveConcepto);
|
bf.DataField = string.Format("V_{0}", CveConcepto);
|
||||||
bf.HeaderText = Concepto;
|
bf.HeaderText = Concepto;
|
||||||
@@ -386,7 +386,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
{
|
{
|
||||||
GvNominas.Columns[CurrentColumn].HeaderStyle.CssClass = "isOnlyVisible ";
|
GvNominas.Columns[CurrentColumn].HeaderStyle.CssClass = "isOnlyVisible ";
|
||||||
}
|
}
|
||||||
GvNominas.Columns[CurrentColumn].Visible = (dtempleados.SUM(string.Format("[V_{0}]", CveConcepto)) > 0);
|
GvNominas.Columns[CurrentColumn].Visible = (dtempleados.SUM(string.Format("[V_{0}]", CveConcepto)) != 0);
|
||||||
bf = (BoundField)GvNominas.Columns[CurrentColumn];
|
bf = (BoundField)GvNominas.Columns[CurrentColumn];
|
||||||
bf.DataField = string.Format("V_{0}", CveConcepto);
|
bf.DataField = string.Format("V_{0}", CveConcepto);
|
||||||
bf.HeaderText = Concepto;
|
bf.HeaderText = Concepto;
|
||||||
|
|||||||
@@ -8,8 +8,13 @@
|
|||||||
content: "Pegar aquí";
|
content: "Pegar aquí";
|
||||||
}
|
}
|
||||||
|
|
||||||
.addropzone.dz-clickable:before {
|
.addropzone.dz-clickable:before{
|
||||||
margin-top: 40px;
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
.addropzone.dz-clickable:before,
|
||||||
|
.addropzone.dz-clickable:after {
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pnlCorreo {
|
.pnlCorreo {
|
||||||
@@ -79,18 +84,19 @@
|
|||||||
|
|
||||||
<div class="pnlCorreo" style="margin-bottom: 5px;">
|
<div class="pnlCorreo" style="margin-bottom: 5px;">
|
||||||
<div class="headerCorreo">
|
<div class="headerCorreo">
|
||||||
<h3 class="panel-title" style="display: inline-block;">Para</h3> <asp:LinkButton ID="LnkAgregar" OnClick="LnkAgregar_Click" CssClass="btn btn-default" runat="server"><i class="fa fa-plus"></i></asp:LinkButton>
|
<h3 class="panel-title" style="display: inline-block;">Para</h3>
|
||||||
|
<asp:LinkButton ID="LnkAgregar" OnClick="LnkAgregar_Click" CssClass="btn btn-default" runat="server"><i class="fa fa-plus"></i></asp:LinkButton>
|
||||||
</div>
|
</div>
|
||||||
<div class="bodycorreos">
|
<div class="bodycorreos">
|
||||||
<asp:Literal ID="LtlPara" runat="server"></asp:Literal>
|
<asp:Literal ID="LtlPara" runat="server"></asp:Literal>
|
||||||
<asp:TextBox ID="TxtCorreo" Enabled ="false" runat="server" CssClass="form-control " TextMode="MultiLine" Rows="3"></asp:TextBox>
|
<asp:TextBox ID="TxtCorreo" Enabled="false" runat="server" CssClass="form-control " TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||||
<asp:RequiredFieldValidator ID="RfvCorreo" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtCorreo" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Correo''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCircular"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RfvCorreo" runat="server" CssClass="help-block errorimput" ControlToValidate="TxtCorreo" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Correo''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCircular"></asp:RequiredFieldValidator>
|
||||||
<%--<ajax:ValidatorCalloutExtender ID="VCEFolio" runat="server" HighlightCssClass="vco" TargetControlID="RfvCorreo" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
<%--<ajax:ValidatorCalloutExtender ID="VCEFolio" runat="server" HighlightCssClass="vco" TargetControlID="RfvCorreo" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
||||||
<%--
|
<%--
|
||||||
<asp:LinkButton ID="Lnkuser1" runat="server" CssClass="linkCorreo" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar Correo?" data-btn-ok-label="si">Jorge caudillo(jcaudillo@adsistemas.mx)</asp:LinkButton>;
|
<asp:LinkButton ID="Lnkuser1" runat="server" CssClass="linkCorreo" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar Correo?" data-btn-ok-label="si">Jorge caudillo(jcaudillo@adsistemas.mx)</asp:LinkButton>;
|
||||||
<asp:LinkButton ID="Lnkuser2" runat="server" CssClass="linkCorreo" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar Correo?" data-btn-ok-label="si">Julian Moreno(Julianmoreno@adsistemas.mx)</asp:LinkButton>;
|
<asp:LinkButton ID="Lnkuser2" runat="server" CssClass="linkCorreo" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar Correo?" data-btn-ok-label="si">Julian Moreno(Julianmoreno@adsistemas.mx)</asp:LinkButton>;
|
||||||
<asp:LinkButton ID="LnkAgregar" OnClick="LnkAgregar_Click" CssClass="btn btn-default" runat="server"><i class="fa fa-plus"></i></asp:LinkButton>
|
<asp:LinkButton ID="LnkAgregar" OnClick="LnkAgregar_Click" CssClass="btn btn-default" runat="server"><i class="fa fa-plus"></i></asp:LinkButton>
|
||||||
--%>
|
--%>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -118,15 +124,15 @@
|
|||||||
<div class="headerCorreo headerCorreoCCP" style="background-color: transparent;">
|
<div class="headerCorreo headerCorreoCCP" style="background-color: transparent;">
|
||||||
<h3 class="panel-title ">Adjuntar Archivos:</h3>
|
<h3 class="panel-title ">Adjuntar Archivos:</h3>
|
||||||
<asp:TextBox ID="TxtArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
<asp:TextBox ID="TxtArchivo" CssClass="ADSdropzone hidden" runat="server"></asp:TextBox>
|
||||||
|
|
||||||
<div id="archivosDiv" runat="server" class="row" visible="false">
|
<div id="archivosDiv" runat="server" class="row" visible="false">
|
||||||
<div class="col-md-1" style="width: 30%">
|
<div class="col-md-1" style="width: 30%">
|
||||||
<asp:Label runat="server" ID="Label1">Archivo cargado:</asp:Label>
|
<asp:Label runat="server" ID="Label1">Archivo cargado:</asp:Label>
|
||||||
</div>
|
|
||||||
<div class="col-md-1" style="width: 70%">
|
|
||||||
<asp:HyperLink runat="server" ID="HkArchivo" Style="color: #23527c;"></asp:HyperLink>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-md-1" style="width: 70%">
|
||||||
|
<asp:HyperLink runat="server" ID="HkArchivo" Style="color: #23527c;"></asp:HyperLink>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bodycorreos ">
|
<div class="bodycorreos ">
|
||||||
<asp:TextBox ID="TxtCircular" runat="server" CssClass="form-control ADSckeditor" TextMode="MultiLine" Rows="3"></asp:TextBox>
|
<asp:TextBox ID="TxtCircular" runat="server" CssClass="form-control ADSckeditor" TextMode="MultiLine" Rows="3"></asp:TextBox>
|
||||||
@@ -134,11 +140,11 @@
|
|||||||
<%--<ajax:ValidatorCalloutExtender ID="VceCircular" runat="server" HighlightCssClass="vco" TargetControlID="RfvCircular" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
<%--<ajax:ValidatorCalloutExtender ID="VceCircular" runat="server" HighlightCssClass="vco" TargetControlID="RfvCircular" Width="300px"></ajax:ValidatorCalloutExtender>--%>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<asp:Button ID="BtnGuardar" OnClick="BtnGuardar_Click" runat="server" CssClass="btn btn-primary" Text="Guardar" Visible="true" ValidationGroup="GrpCircular" />
|
<asp:Button ID="BtnGuardar" OnClick="BtnGuardar_Click" runat="server" CssClass="btn btn-primary" Text="Guardar" Visible="true" ValidationGroup="GrpCircular" />
|
||||||
<asp:Button ID="BtnEliminar" OnClick="BtnEliminar_Click" runat="server" CssClass="btn btn-danger" Text="Eliminar" Visible="false" data-toggle="confirmation" data-popout="true" data-original-title="Confirmar" data-btn-ok-label="si" />
|
<asp:Button ID="BtnEliminar" OnClick="BtnEliminar_Click" runat="server" CssClass="btn btn-danger" Text="Eliminar" Visible="false" data-toggle="confirmation" data-popout="true" data-original-title="Confirmar" data-btn-ok-label="si" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='<%= iddivAgregarPara %>' class="modal ADS fade" role="dialog">
|
<div id='<%= iddivAgregarPara %>' class="modal ADS fade" role="dialog">
|
||||||
<div class="modal-dialog">
|
<div class="modal-dialog">
|
||||||
|
|||||||
@@ -24,7 +24,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.addropzone.dz-clickable:before {
|
.addropzone.dz-clickable:before {
|
||||||
margin-top: 40px;
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.addropzone.dz-clickable:before, .addropzone.dz-clickable:after {
|
||||||
|
color: #808080;
|
||||||
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pnlCorreo {
|
.pnlCorreo {
|
||||||
|
|||||||
@@ -52,8 +52,13 @@
|
|||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.filediv .addropzone.dz-clickable:before, .filediv .addropzone.dz-clickable:after {
|
||||||
|
color: #808080;
|
||||||
|
font-size: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.filediv .addropzone {
|
.filediv .addropzone {
|
||||||
min-height: 100px;
|
min-height: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.divArchivo {
|
.divArchivo {
|
||||||
@@ -124,11 +129,12 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
.porcentajelabel{
|
|
||||||
color: #ed5565;
|
.porcentajelabel {
|
||||||
font-size: 64px;
|
color: #ed5565;
|
||||||
font-weight:bold;
|
font-size: 64px;
|
||||||
}
|
font-weight: bold;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<link href="/Metronic/assets/global/plugins/ion.rangeslider/css/ion.rangeSlider.css" rel="stylesheet" type="text/css" />
|
<link href="/Metronic/assets/global/plugins/ion.rangeslider/css/ion.rangeSlider.css" rel="stylesheet" type="text/css" />
|
||||||
@@ -150,7 +156,7 @@
|
|||||||
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkAgregarCheckList" OnClick="LnkAgregarCheckList_Click" runat="server"><i class="fa fa-plus"></i> Agregar checkList</asp:LinkButton></li>
|
<asp:LinkButton ID="LnkAgregarCheckList" OnClick="LnkAgregarCheckList_Click" runat="server"><i class="fa fa-plus"></i> Agregar checklist</asp:LinkButton></li>
|
||||||
<li>
|
<li>
|
||||||
<asp:LinkButton ID="LnkcambiarEstatus" OnClick="LnkcambiarEstatus_Click" runat="server"><i class="fa fa-exchange"></i>Cambiar estatus</asp:LinkButton></li>
|
<asp:LinkButton ID="LnkcambiarEstatus" OnClick="LnkcambiarEstatus_Click" runat="server"><i class="fa fa-exchange"></i>Cambiar estatus</asp:LinkButton></li>
|
||||||
<li>
|
<li>
|
||||||
@@ -254,9 +260,9 @@
|
|||||||
<div class="form-group form-md-line-input">
|
<div class="form-group form-md-line-input">
|
||||||
<asp:DropDownList ID="DdlPrioridad" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
<asp:DropDownList ID="DdlPrioridad" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
<asp:ListItem Text="Baja" Value="1" ></asp:ListItem>
|
<asp:ListItem Text="Baja" Value="1"></asp:ListItem>
|
||||||
<asp:ListItem Text="Media" Value="2" ></asp:ListItem>
|
<asp:ListItem Text="Media" Value="2"></asp:ListItem>
|
||||||
<asp:ListItem Text="Alta" Value="3" ></asp:ListItem>
|
<asp:ListItem Text="Alta" Value="3"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<asp:RequiredFieldValidator ID="RFVPrioridad" runat="server" ControlToValidate="DdlPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RFVPrioridad" runat="server" ControlToValidate="DdlPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||||
<asp:Label runat="server" AssociatedControlID="DdlPrioridad">Prioridad:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlPrioridad">Prioridad:</asp:Label>
|
||||||
@@ -291,7 +297,7 @@
|
|||||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-body rowpadding" >
|
<div class="portlet-body rowpadding">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<div class="form-group form-md-line-input">
|
<div class="form-group form-md-line-input">
|
||||||
@@ -302,7 +308,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
<asp:Button ID="LnkSinfuncion" OnClick="LnkSinfuncion_Click" UseSubmitBehavior="false" CssClass="btn btn-default LnkSinfuncion hidden" runat="server"></asp:Button>
|
<asp:Button ID="LnkSinfuncion" OnClick="LnkSinfuncion_Click" UseSubmitBehavior="false" CssClass="btn btn-default LnkSinfuncion hidden" runat="server"></asp:Button>
|
||||||
<asp:LinkButton ID="LnkAgregarchklistitem" OnClick="LnkAgregarchklistitem_Click" ValidationGroup="GrpTareachklist" CssClass="btn btn-primary" runat="server">Agregar</asp:LinkButton>
|
<asp:LinkButton ID="LnkAgregarchklistitem" OnClick="LnkAgregarchklistitem_Click" ValidationGroup="GrpTareachklist" CssClass="btn btn-success" runat="server">Agregar</asp:LinkButton>
|
||||||
<%--<a class="btn btn-default">Agregar</a>--%>
|
<%--<a class="btn btn-default">Agregar</a>--%>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -366,7 +372,7 @@
|
|||||||
|
|
||||||
<asp:Label runat="server" AssociatedControlID="DdlEventoEstatus">Estatus:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlEventoEstatus">Estatus:</asp:Label>
|
||||||
</div>
|
</div>
|
||||||
<asp:Label ID="lblEstatus" Style="font-size: 25px;position:absolute;" runat="server" Text="Label"></asp:Label>
|
<asp:Label ID="lblEstatus" Style="font-size: 25px; position: absolute;" runat="server" Text="Label"></asp:Label>
|
||||||
<div class="text-right porcentajelabel">
|
<div class="text-right porcentajelabel">
|
||||||
<asp:Label ID="LblPorcentaje" CssClass="LblPorcentaje" runat="server" Text="0"></asp:Label>%
|
<asp:Label ID="LblPorcentaje" CssClass="LblPorcentaje" runat="server" Text="0"></asp:Label>%
|
||||||
</div>
|
</div>
|
||||||
@@ -531,7 +537,7 @@
|
|||||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="portlet-body rowpadding" >
|
<div class="portlet-body rowpadding">
|
||||||
<asp:UpdatePanel ID="UpActividades" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpActividades" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:GridView ID="GvActividades" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-advance table-hover Widthall ScrollAD GvActividades"
|
<asp:GridView ID="GvActividades" runat="server" AutoGenerateColumns="False" CssClass="table table-striped table-advance table-hover Widthall ScrollAD GvActividades"
|
||||||
@@ -724,10 +730,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</asp:Panel>
|
</asp:Panel>
|
||||||
<div class="form-group form-md-line-input">
|
<div class="form-group form-md-line-input">
|
||||||
<asp:TextBox ID="TxtComentarioTerminarpadre" runat="server" CssClass="form-control" CausesValidation="true" TextMode="MultiLine" Rows="1"></asp:TextBox>
|
<asp:TextBox ID="TxtComentarioTerminarpadre" runat="server" CssClass="form-control" CausesValidation="true" TextMode="MultiLine" Rows="1"></asp:TextBox>
|
||||||
<asp:Label runat="server" Text="Agregar Comentario" AssociatedControlID="TxtComentarioTerminarpadre"></asp:Label>
|
<asp:Label runat="server" Text="Agregar Comentario" AssociatedControlID="TxtComentarioTerminarpadre"></asp:Label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -752,10 +758,10 @@
|
|||||||
<asp:Literal ID="Literal4" runat="server">Agregar relación</asp:Literal></h4>
|
<asp:Literal ID="Literal4" runat="server">Agregar relación</asp:Literal></h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div >
|
<div>
|
||||||
<asp:Label runat="server" AssociatedControlID="DdlViculos">Relacionar Con:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlViculos">Relacionar Con:</asp:Label>
|
||||||
<asp:RadioButtonList ID="DdlViculos" RepeatDirection="Horizontal" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlViculos_SelectedIndexChanged">
|
<asp:RadioButtonList ID="DdlViculos" RepeatDirection="Horizontal" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DdlViculos_SelectedIndexChanged">
|
||||||
|
|
||||||
<asp:ListItem Value="2" Selected="true" Text=" Cliente"></asp:ListItem>
|
<asp:ListItem Value="2" Selected="true" Text=" Cliente"></asp:ListItem>
|
||||||
<asp:ListItem Value="3" Text=" Personal"></asp:ListItem>
|
<asp:ListItem Value="3" Text=" Personal"></asp:ListItem>
|
||||||
<asp:ListItem Value="4" Text=" Proveedor"></asp:ListItem>
|
<asp:ListItem Value="4" Text=" Proveedor"></asp:ListItem>
|
||||||
@@ -901,13 +907,13 @@
|
|||||||
</asp:GridView>--%>
|
</asp:GridView>--%>
|
||||||
</asp:Panel>
|
</asp:Panel>
|
||||||
<asp:Panel ID="PnlPersonal" CssClass="form-group form-md-line-input" Visible="false" runat="server">
|
<asp:Panel ID="PnlPersonal" CssClass="form-group form-md-line-input" Visible="false" runat="server">
|
||||||
|
|
||||||
<asp:DropDownList ID="DdlPersonal" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control input-sm input-medium select2me" Width="100%"></asp:DropDownList>
|
<asp:DropDownList ID="DdlPersonal" runat="server" AppendDataBoundItems="true" DataTextField="NombreCompleto" DataValueField="CvePersonal" CssClass="form-control input-sm input-medium select2me" Width="100%"></asp:DropDownList>
|
||||||
<asp:Label runat="server" AssociatedControlID="DdlPersonal">Personal:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlPersonal">Personal:</asp:Label>
|
||||||
</asp:Panel>
|
</asp:Panel>
|
||||||
<asp:Panel ID="PnlProveedor" CssClass="form-group form-md-line-input" Visible="false" runat="server">
|
<asp:Panel ID="PnlProveedor" CssClass="form-group form-md-line-input" Visible="false" runat="server">
|
||||||
<ADS:Dropdownlost ID="DdlProveedores" UsaWebService="true" runat="server" CssStyle="width: 100%;" DataTextField="RazonSocial" DataValueField="CveProveedor" CssClass="form-control"></ADS:Dropdownlost>
|
<ADS:Dropdownlost ID="DdlProveedores" UsaWebService="true" runat="server" CssStyle="width: 100%;" DataTextField="RazonSocial" DataValueField="CveProveedor" CssClass="form-control"></ADS:Dropdownlost>
|
||||||
<asp:Label runat="server" AssociatedControlID="DdlProveedores">Proveedores:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlProveedores">Proveedores:</asp:Label>
|
||||||
</asp:Panel>
|
</asp:Panel>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1137,10 +1143,12 @@
|
|||||||
function CambiarTitulo(cadena) {
|
function CambiarTitulo(cadena) {
|
||||||
let TTitulo = $('#E_LtlTitulo')
|
let TTitulo = $('#E_LtlTitulo')
|
||||||
let texto = TTitulo.text();
|
let texto = TTitulo.text();
|
||||||
let splited = texto.split(" ");
|
if (texto != 'Nueva tarea') {
|
||||||
let size = splited[splited.length - 1].length;
|
let splited = texto.split(" ");
|
||||||
texto = texto.substring(0, texto.length - size) + cadena;
|
let size = splited[splited.length - 1].length;
|
||||||
TTitulo.text(texto);
|
texto = texto.substring(0, texto.length - size) + cadena;
|
||||||
|
TTitulo.text(texto);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
var avancecambio = 0;
|
var avancecambio = 0;
|
||||||
function barraavance() {
|
function barraavance() {
|
||||||
@@ -1154,7 +1162,7 @@
|
|||||||
step: .01,
|
step: .01,
|
||||||
//[disable]
|
//[disable]
|
||||||
onChange: (function () {
|
onChange: (function () {
|
||||||
setTimeout(function () { let avance = $(".TxtAvance").val(); if ( avance != Valorxyz) { avancecambio = 1; $('.LblPorcentaje').text(avance)} }, 50);
|
setTimeout(function () { let avance = $(".TxtAvance").val(); if (avance != Valorxyz) { avancecambio = 1; $('.LblPorcentaje').text(avance) } }, 50);
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
LnkcambiarEstatus.Visible = false;
|
LnkcambiarEstatus.Visible = false;
|
||||||
LnkAgregarTema.Visible = false;
|
LnkAgregarTema.Visible = false;
|
||||||
portletEstatus.Visible = false;
|
portletEstatus.Visible = false;
|
||||||
LtlTitulo.Text = "Tarea Nueva";
|
LtlTitulo.Text = "Nueva tarea";
|
||||||
TxtArchivo.Visible = true;
|
TxtArchivo.Visible = true;
|
||||||
CveUsuarioDe = UsuarioActual.CveUsuario;
|
CveUsuarioDe = UsuarioActual.CveUsuario;
|
||||||
}
|
}
|
||||||
@@ -139,17 +139,18 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
private void Setpermisos()
|
private void Setpermisos()
|
||||||
{
|
{
|
||||||
|
bool permisedestatus = (CveEventoEstatus > 1 && CveEventoEstatus < 4);
|
||||||
bool esmiembro = UsuarioActual.CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>());
|
bool esmiembro = UsuarioActual.CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>());
|
||||||
bool esdeel = UsuarioActual.CveUsuario == CveUsuarioDe;
|
bool esdeel = UsuarioActual.CveUsuario == CveUsuarioDe;
|
||||||
bool esPara = UsuarioActual.CveUsuario == CveUsuarioPara;
|
bool esPara = UsuarioActual.CveUsuario == CveUsuarioPara;
|
||||||
Permisos = new OI_TareaDetalle_Permisos
|
Permisos = new OI_TareaDetalle_Permisos
|
||||||
{
|
{
|
||||||
EntrarOI = (EsNuevo || esmiembro),
|
EntrarOI = (EsNuevo || esmiembro),
|
||||||
CheckList = (EsNuevo || esdeel || esPara) && CveEventoEstatus < 4,
|
CheckList = (EsNuevo || esdeel || esPara) && permisedestatus,
|
||||||
EdicionGeneral = (EsNuevo || esdeel) && CveEventoEstatus < 4,
|
EdicionGeneral = (EsNuevo || esdeel) && permisedestatus,
|
||||||
Bitacora = esmiembro && CveEventoEstatus < 4,
|
Bitacora = esmiembro && permisedestatus,
|
||||||
Avance = esPara && CveEventoEstatus < 4,
|
Avance = esPara && permisedestatus,
|
||||||
Reasignar = esPara && CveEventoEstatus < 4,
|
Reasignar = esPara && permisedestatus,
|
||||||
Estatus1_2_3 = esPara,
|
Estatus1_2_3 = esPara,
|
||||||
Estatus4_5 = esdeel
|
Estatus4_5 = esdeel
|
||||||
};
|
};
|
||||||
@@ -229,9 +230,9 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
{
|
{
|
||||||
DDlEstatus.Items.Remove(item);
|
DDlEstatus.Items.Remove(item);
|
||||||
}
|
}
|
||||||
LnkcambiarEstatus.Visible = LnkcambiarEstatus.Visible && (Permisos.Estatus1_2_3 || Permisos.Estatus4_5);
|
LnkcambiarEstatus.Visible = LnkcambiarEstatus.Visible && ((Permisos.Estatus1_2_3 && CveEventoEstatus < 4) || Permisos.Estatus4_5);
|
||||||
|
|
||||||
if (CveEventoEstatus >= 4)
|
if ( permisedestatus)
|
||||||
{
|
{
|
||||||
LnkAgregarTema.Visible = false;
|
LnkAgregarTema.Visible = false;
|
||||||
LnkUpUsuarios.Visible = false;
|
LnkUpUsuarios.Visible = false;
|
||||||
@@ -1021,6 +1022,11 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
//if (DdlEventoEstatus.SelectedValue.ToEntero == 3 | DdlEventoEstatus.SelectedValue.ToEntero == 1)
|
//if (DdlEventoEstatus.SelectedValue.ToEntero == 3 | DdlEventoEstatus.SelectedValue.ToEntero == 1)
|
||||||
// EnviarCorreoCambioEstatus(false);
|
// EnviarCorreoCambioEstatus(false);
|
||||||
//CargaDatos();
|
//CargaDatos();
|
||||||
|
if (CveEstatus == 4)
|
||||||
|
{
|
||||||
|
TxtAvance.Text = "100";
|
||||||
|
LblPorcentaje.Text = string.Format("{0:##0.##}", "100".ToDecimal());
|
||||||
|
}
|
||||||
string mensaje = string.Format("Se cambió el Estatus de \"{0}\" a \"{1}\"", DdlEventoEstatus.SelectedItem.Text, DDlEstatus.SelectedItem.Text);
|
string mensaje = string.Format("Se cambió el Estatus de \"{0}\" a \"{1}\"", DdlEventoEstatus.SelectedItem.Text, DDlEstatus.SelectedItem.Text);
|
||||||
DdlEventoEstatus.SelectedValueExist(DDlEstatus.SelectedValue);
|
DdlEventoEstatus.SelectedValueExist(DDlEstatus.SelectedValue);
|
||||||
lblEstatus.Text = DdlEventoEstatus.SelectedItem.Text;
|
lblEstatus.Text = DdlEventoEstatus.SelectedItem.Text;
|
||||||
@@ -1270,7 +1276,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
{
|
{
|
||||||
if (objoi.DtResultados.Rows.Count > 0)
|
if (objoi.DtResultados.Rows.Count > 0)
|
||||||
{
|
{
|
||||||
//LtlTitulo.Text = objoi.DtResultados.Rows[0]["Titulo"].ToString();
|
//LtlTitulo.Text = objoi.DtResultados.Rows[0]["Titulo"].ToString();
|
||||||
LblPorcentaje.Text = string.Format("{0:##0.##}", TxtAvance.Text.ToDecimal());
|
LblPorcentaje.Text = string.Format("{0:##0.##}", TxtAvance.Text.ToDecimal());
|
||||||
}
|
}
|
||||||
cargaActividades(objoi);
|
cargaActividades(objoi);
|
||||||
@@ -1323,11 +1329,28 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
int CveUsuario = gvRow.DataKey("CveUsuario").ToString().ToEntero();
|
int CveUsuario = gvRow.DataKey("CveUsuario").ToString().ToEntero();
|
||||||
gvRow.FCCheckBox("ChkPara").Checked = false;
|
gvRow.FCCheckBox("ChkPara").Checked = false;
|
||||||
CheckBox chkCCpara = gvRow.FCCheckBox("ChkCCP");
|
CheckBox chkCCpara = gvRow.FCCheckBox("ChkCCP");
|
||||||
|
CheckBox chkpara = gvRow.FCCheckBox("ChkPara");
|
||||||
|
|
||||||
|
chkpara.Checked = false;
|
||||||
chkCCpara.Checked = false;
|
chkCCpara.Checked = false;
|
||||||
if (CveUsuario == CveUsuarioPara)
|
chkCCpara.Enabled = true;
|
||||||
|
chkpara.Enabled = true;
|
||||||
|
|
||||||
|
if ((CveUsuario == CveUsuarioPara) || (CveUsuario == CveUsuarioDe))
|
||||||
|
{
|
||||||
|
if (CveUsuario == CveUsuarioPara)
|
||||||
|
{
|
||||||
|
chkpara.Checked = true;
|
||||||
|
}
|
||||||
|
if (CveUsuario == CveUsuarioDe)
|
||||||
|
{
|
||||||
|
chkCCpara.Checked = true;
|
||||||
|
chkCCpara.Enabled = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>()))
|
||||||
{
|
{
|
||||||
chkCCpara.Checked = true;
|
chkCCpara.Checked = true;
|
||||||
chkCCpara.Enabled = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -1363,6 +1386,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
if (CveUsuario == CveUsuarioDe)
|
if (CveUsuario == CveUsuarioDe)
|
||||||
{
|
{
|
||||||
chkCCpara.Checked = true;
|
chkCCpara.Checked = true;
|
||||||
|
chkCCpara.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>()))
|
else if (CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>()))
|
||||||
|
|||||||
@@ -2822,6 +2822,32 @@
|
|||||||
</asp:GridView>
|
</asp:GridView>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="portlet box blue-hoki">
|
||||||
|
<div class="portlet-title">
|
||||||
|
<div class="caption ">
|
||||||
|
<i class="icon-user-following bold "></i>
|
||||||
|
<span class="caption-subject uppercase">Pagos no bancarios</span>
|
||||||
|
</div>
|
||||||
|
<div class="tools"><a href="javascript;" class="collapse" data-original-title="" title=""></a></div>
|
||||||
|
</div>
|
||||||
|
<div class="portlet-body ">
|
||||||
|
<asp:GridView ID="GvPagosNoBancarios" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron pagos no bancarios" Width="50%"
|
||||||
|
CssClass="table table-striped table-advance table-hover ScrollAD" data-sort="false" BorderWidth="1" BorderColor="#D3D3D3" GridLines="None" DataKeyNames="CvePrePoliza,CveCompra,CveVenta,CvePersonal,ImporteMN,VentaSerieFolio,CompraSerieFolio,NombreCompleto,FechaIng,Abreviatura">
|
||||||
|
<Columns>
|
||||||
|
<asp:BoundField HeaderText="Fecha" DataField="FechaIng" DataFormatString = "{0:dd/MM/yyyy}"/>
|
||||||
|
<asp:HyperLinkField HeaderText="Venta Serie Folio" DataTextField="VentaSerieFolio" DataNavigateUrlFields="CveVenta" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}"/>
|
||||||
|
<asp:HyperLinkField HeaderText="Compra Serie Folio" DataTextField="CompraSerieFolio" DataNavigateUrlFields="CveCompra" DataNavigateUrlFormatString="/Compras/Compras.aspx?CveCompra={0}"/>
|
||||||
|
<asp:TemplateField HeaderText="Importe" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlImp" runat="server" Text='<%# Eval("ImporteMN", "{0:N2}")%>'></asp:Literal>
|
||||||
|
<asp:Literal ID="LtlMon" runat="server" Text='<%# Eval("Abreviatura")%>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
</Columns>
|
||||||
|
</asp:GridView>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="portlet box blue-hoki">
|
<div class="portlet box blue-hoki">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="caption ">
|
<div class="caption ">
|
||||||
|
|||||||
@@ -1509,7 +1509,8 @@ Partial Class RH_Personal
|
|||||||
|
|
||||||
'Carga Conceptos de Nómina
|
'Carga Conceptos de Nómina
|
||||||
CarcaConceptosNomina()
|
CarcaConceptosNomina()
|
||||||
|
'Carga Pagos no Bancarios
|
||||||
|
CargarPagosNoBancarios()
|
||||||
'Carga Resguardos
|
'Carga Resguardos
|
||||||
Dim ObjResguardos As New ClsAF
|
Dim ObjResguardos As New ClsAF
|
||||||
If ObjResguardos.GetActivosFijosResguardos(-1, -1, CvePersonal, -1) Then
|
If ObjResguardos.GetActivosFijosResguardos(-1, -1, CvePersonal, -1) Then
|
||||||
@@ -6338,4 +6339,13 @@ Partial Class RH_Personal
|
|||||||
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
Private Sub CargarPagosNoBancarios()
|
||||||
|
Dim ObjBancos As New ClsBancos
|
||||||
|
If ObjBancos.GetPagosNoBancarios(UsuarioActual.CveEmpresa, CvePersonal:=CvePersonal) Then
|
||||||
|
GvPagosNoBancarios.DataSource = ObjBancos.DtResultados
|
||||||
|
GvPagosNoBancarios.DataBind()
|
||||||
|
End If
|
||||||
|
ObjBancos.Dispose()
|
||||||
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ function buscadorMenuCaudi() {
|
|||||||
|
|
||||||
let tickBar = 0;
|
let tickBar = 0;
|
||||||
let input = $('#' + idTxtMaster);
|
let input = $('#' + idTxtMaster);
|
||||||
let BuscarMenu =function() {
|
let BuscarMenu = function () {
|
||||||
tickBar = tickBar + 1;
|
tickBar = tickBar + 1;
|
||||||
tickBarnew = tickBar;
|
tickBarnew = tickBar;
|
||||||
|
|
||||||
@@ -263,7 +263,7 @@ setswitch = function () {
|
|||||||
var label;
|
var label;
|
||||||
var labeltext = ' ';
|
var labeltext = ' ';
|
||||||
if ($($(this).find('label')).html()) {
|
if ($($(this).find('label')).html()) {
|
||||||
labeltext = $($(this).find('label')).html()
|
labeltext = $($(this).find('label')).html();
|
||||||
}
|
}
|
||||||
label = '<label for="' + mdcheckbox.attr("id") + '" > <span></span><span class="check"></span><span class="box"></span>' + labeltext + '</label>';
|
label = '<label for="' + mdcheckbox.attr("id") + '" > <span></span><span class="check"></span><span class="box"></span>' + labeltext + '</label>';
|
||||||
label = $(label);
|
label = $(label);
|
||||||
@@ -281,7 +281,7 @@ setswitch = function () {
|
|||||||
var label;
|
var label;
|
||||||
var labeltext = ' ';
|
var labeltext = ' ';
|
||||||
if ($($(this).find('label')).html()) {
|
if ($($(this).find('label')).html()) {
|
||||||
labeltext = $($(this).find('label')).html()
|
labeltext = $($(this).find('label')).html();
|
||||||
}
|
}
|
||||||
label = '<label for="' + mdcheckbox.attr("id") + '" > <span></span><span class="check"></span><span class="box"></span>' + labeltext + '</label>';
|
label = '<label for="' + mdcheckbox.attr("id") + '" > <span></span><span class="check"></span><span class="box"></span>' + labeltext + '</label>';
|
||||||
label = $(label);
|
label = $(label);
|
||||||
@@ -321,8 +321,8 @@ function ADScroller2() {
|
|||||||
var widthGral = $(document).width() - WidthMenos;
|
var widthGral = $(document).width() - WidthMenos;
|
||||||
var heightGral = $(window).height() - HeightMenos;
|
var heightGral = $(window).height() - HeightMenos;
|
||||||
if (Heightfijo > 0) { heightGral = Heightfijo; }
|
if (Heightfijo > 0) { heightGral = Heightfijo; }
|
||||||
if (widthGral < 100) { widthGral = 100 }
|
if (widthGral < 100) { widthGral = 100; }
|
||||||
if (heightGral < 100) { heightGral = 100 }
|
if (heightGral < 100) { heightGral = 100; }
|
||||||
|
|
||||||
widthGral = Tthis.parent().parent().width();
|
widthGral = Tthis.parent().parent().width();
|
||||||
Tthis.removeClass('ADSCROLLER2');
|
Tthis.removeClass('ADSCROLLER2');
|
||||||
@@ -377,7 +377,7 @@ function ADScroller2() {
|
|||||||
for (var i = 0; i < txx1.length; i++) {
|
for (var i = 0; i < txx1.length; i++) {
|
||||||
tr1 = $(txx1[i]).closest('tr');
|
tr1 = $(txx1[i]).closest('tr');
|
||||||
td1 = $(txx1[i]).closest('td');
|
td1 = $(txx1[i]).closest('td');
|
||||||
tr1.append(td1)
|
tr1.append(td1);
|
||||||
var hr1 = tr1.outerHeight();
|
var hr1 = tr1.outerHeight();
|
||||||
var hr2 = $(txx2[i]).closest('tr').outerHeight();
|
var hr2 = $(txx2[i]).closest('tr').outerHeight();
|
||||||
if (hr1 > hr2) {
|
if (hr1 > hr2) {
|
||||||
@@ -393,7 +393,7 @@ function ADScroller2() {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
var contenedor = $('<div class="ADSContainer" style="width:' + widthGral + 'px;height:' + heightGral + 'px;"></div>')
|
var contenedor = $('<div class="ADSContainer" style="width:' + widthGral + 'px;height:' + heightGral + 'px;"></div>');
|
||||||
var divheader = $('<div style="width:' + widthGral + 'px;"></div>');
|
var divheader = $('<div style="width:' + widthGral + 'px;"></div>');
|
||||||
var divcenter = $('<div style="width:' + widthGral + 'px;"></div>');
|
var divcenter = $('<div style="width:' + widthGral + 'px;"></div>');
|
||||||
var divheader1 = $('<div class="AdsCEll" ></div>');
|
var divheader1 = $('<div class="AdsCEll" ></div>');
|
||||||
@@ -431,10 +431,34 @@ function ADScroller2() {
|
|||||||
divcenter.append(divcenterbody);
|
divcenter.append(divcenterbody);
|
||||||
divbodyScroll = $('<div class="ADSCroll" style="width:' + (widthGral - anchoc1) + 'px;height:' + (heightGral - altoc1 + 20) + 'px;"></div>').append(Tthis);
|
divbodyScroll = $('<div class="ADSCroll" style="width:' + (widthGral - anchoc1) + 'px;height:' + (heightGral - altoc1 + 20) + 'px;"></div>').append(Tthis);
|
||||||
divcenterbody.append(divbodyScroll);
|
divcenterbody.append(divbodyScroll);
|
||||||
divbodyScroll.scroll(function () {
|
|
||||||
divheaderScroll.scrollLeft($(this).scrollLeft())
|
let fncScroll = function (obj, $this, divheaderScroll, idx) {
|
||||||
divcolsScroll.scrollTop($(this).scrollTop())
|
if (idx) {
|
||||||
|
divheaderScroll.scrollLeft($this.scrollLeft());
|
||||||
|
}
|
||||||
|
obj.scrollTop($this.scrollTop());
|
||||||
|
};
|
||||||
|
divbodyScroll.mouseover(function () {
|
||||||
|
divbodyScroll.scroll(function () { fncScroll(divcolsScroll, divbodyScroll, divheaderScroll, true); });
|
||||||
});
|
});
|
||||||
|
divcolsScroll.mouseover(function () {
|
||||||
|
divcolsScroll.scroll(function () { fncScroll(divbodyScroll, divcolsScroll, divheaderScroll, false); });
|
||||||
|
});
|
||||||
|
divbodyScroll.mouseleave(function () {
|
||||||
|
divbodyScroll.unbind('scroll');
|
||||||
|
});
|
||||||
|
divcolsScroll.mouseleave(function () {
|
||||||
|
divcolsScroll.unbind('scroll');
|
||||||
|
});
|
||||||
|
let sizeoftablefunc = function () {
|
||||||
|
let sizetable = Tthis.outerHeight();
|
||||||
|
if (sizetable < divbodyScroll.height()) {
|
||||||
|
sizetable = sizetable + 20;
|
||||||
|
divcolsScroll.css('height', sizetable);
|
||||||
|
divbodyScroll.css('height', sizetable);
|
||||||
|
contenedor.css('width', sizetable + altoc1);
|
||||||
|
}
|
||||||
|
};
|
||||||
$(window).resize(function () {
|
$(window).resize(function () {
|
||||||
var widthGral = $(window).width() - WidthMenos;
|
var widthGral = $(window).width() - WidthMenos;
|
||||||
/*console.log(widthGral);*/
|
/*console.log(widthGral);*/
|
||||||
@@ -443,23 +467,25 @@ function ADScroller2() {
|
|||||||
/* console.log(widthGral);*/
|
/* console.log(widthGral);*/
|
||||||
var heightGral = $(window).height() - HeightMenos;
|
var heightGral = $(window).height() - HeightMenos;
|
||||||
if (Heightfijo > 0) { heightGral = Heightfijo; }
|
if (Heightfijo > 0) { heightGral = Heightfijo; }
|
||||||
if (widthGral < 100) { widthGral = 100 }
|
if (widthGral < 100) { widthGral = 100; }
|
||||||
if (heightGral < 100) { heightGral = 100 }
|
if (heightGral < 100) { heightGral = 100; }
|
||||||
contenedor.css('width', widthGral);
|
contenedor.css('width', widthGral);
|
||||||
divheader.css('width', widthGral);
|
divheader.css('width', widthGral);
|
||||||
divcenter.css('width', widthGral);
|
divcenter.css('width', widthGral);
|
||||||
divheaderScroll.css('width', (widthGral - anchoc1));
|
divheaderScroll.css('width', (widthGral - anchoc1));
|
||||||
divcolsScroll.css('height', (heightGral - altoc1));
|
divcolsScroll.css('height', (heightGral - altoc1+20));
|
||||||
divbodyScroll.css('width', (widthGral - anchoc1));
|
divbodyScroll.css('width', (widthGral - anchoc1));
|
||||||
divbodyScroll.css('height', (heightGral - altoc1 + 20));
|
divbodyScroll.css('height', (heightGral - altoc1 + 20));
|
||||||
|
setTimeout(sizeoftablefunc, 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('table#ADCol' + Tid + ' tr').hover(
|
$('table#ADCol' + Tid + ' tr').hover(
|
||||||
function () { $('table#' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').addClass('hover') },
|
function () { $('table#' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').addClass('hover');},
|
||||||
function () { $('table#' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').removeClass('hover') });
|
function () { $('table#' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').removeClass('hover');});
|
||||||
$('table#' + Tid + ' tr').hover(
|
$('table#' + Tid + ' tr').hover(
|
||||||
function () { $('table#ADCol' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').addClass('hover') },
|
function () { $('table#ADCol' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').addClass('hover');},
|
||||||
function () { $('table#ADCol' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').removeClass('hover') });
|
function () { $('table#ADCol' + Tid + ' tr:nth-child(' + ($(this).index() + 1) + ')').removeClass('hover'); });
|
||||||
|
setTimeout(sizeoftablefunc, 100);
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
@@ -1817,7 +1843,7 @@ jQuery(document).ready(function () {
|
|||||||
DataTablePaginatorScroll();
|
DataTablePaginatorScroll();
|
||||||
DataTablePaginatorScroll2();
|
DataTablePaginatorScroll2();
|
||||||
loadAdDropzone();
|
loadAdDropzone();
|
||||||
clonsbuttons();
|
clonsbuttons();
|
||||||
ADScroller2();
|
ADScroller2();
|
||||||
//setTimeout(ADScroller2, 500);
|
//setTimeout(ADScroller2, 500);
|
||||||
$('body').removeClass('page-portlet-fullscreen');
|
$('body').removeClass('page-portlet-fullscreen');
|
||||||
@@ -1853,7 +1879,7 @@ jQuery(document).ready(function () {
|
|||||||
|
|
||||||
let showhideRows = function () {
|
let showhideRows = function () {
|
||||||
usuariotext = input.val();
|
usuariotext = input.val();
|
||||||
|
|
||||||
let strusuario = usuariotext.length > 0 ? ':contains("' + usuariotext + '")' : '';// td:nth-child(2)
|
let strusuario = usuariotext.length > 0 ? ':contains("' + usuariotext + '")' : '';// td:nth-child(2)
|
||||||
$this.find('tr.items').attr('hide', '1');//oculto todos
|
$this.find('tr.items').attr('hide', '1');//oculto todos
|
||||||
$this.find('tr.items' + strusuario).attr('hide', '');//muestro los que tienen filtro
|
$this.find('tr.items' + strusuario).attr('hide', '');//muestro los que tienen filtro
|
||||||
|
|||||||
@@ -454,7 +454,7 @@ Partial Class Sistemas_Empresa
|
|||||||
End Sub
|
End Sub
|
||||||
Protected Sub BtnGuardar_Click(sender As Object, e As System.EventArgs) Handles BtnGuardar.Click
|
Protected Sub BtnGuardar_Click(sender As Object, e As System.EventArgs) Handles BtnGuardar.Click
|
||||||
Dim ObjEmpresas As New ClsSisEmpresas
|
Dim ObjEmpresas As New ClsSisEmpresas
|
||||||
Dim ObjGral As New ClsGenerales(ObjEmpresas.IniciaTransacSQL())
|
Dim ObjGral As New ClsGenerales()
|
||||||
Dim ObjContPAQ As ClsContPAQi = Nothing
|
Dim ObjContPAQ As ClsContPAQi = Nothing
|
||||||
Dim Indicador As New ClsIndicadores(ObjEmpresas.IniciaTransacSQL())
|
Dim Indicador As New ClsIndicadores(ObjEmpresas.IniciaTransacSQL())
|
||||||
|
|
||||||
@@ -487,6 +487,7 @@ Partial Class Sistemas_Empresa
|
|||||||
|
|
||||||
End If
|
End If
|
||||||
ViewState("CveEmpresa") = ObjEmpresas.CveEmpresa
|
ViewState("CveEmpresa") = ObjEmpresas.CveEmpresa
|
||||||
|
InicializaClasificacionIVA()
|
||||||
TextoOK = "La nueva Empresa se guardó correctamente."
|
TextoOK = "La nueva Empresa se guardó correctamente."
|
||||||
Else
|
Else
|
||||||
TextoError = "Ocurrió un error al agregar la empresa"
|
TextoError = "Ocurrió un error al agregar la empresa"
|
||||||
@@ -1549,7 +1550,7 @@ Partial Class Sistemas_Empresa
|
|||||||
If Not File.Exists(pfxname) Then
|
If Not File.Exists(pfxname) Then
|
||||||
Archivopfx = ""
|
Archivopfx = ""
|
||||||
Password = ""
|
Password = ""
|
||||||
End If
|
End If
|
||||||
Dim objempresa As New ClsSisEmpresas
|
Dim objempresa As New ClsSisEmpresas
|
||||||
objempresa.UpEmpresaFiel(ViewState("CveEmpresa").ToString().ToEntero(), Password, $"{Archivopfx}.pfx")
|
objempresa.UpEmpresaFiel(ViewState("CveEmpresa").ToString().ToEntero(), Password, $"{Archivopfx}.pfx")
|
||||||
objempresa.Dispose()
|
objempresa.Dispose()
|
||||||
|
|||||||
@@ -10,15 +10,17 @@
|
|||||||
|
|
||||||
.fileTarea .addropzone {
|
.fileTarea .addropzone {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
min-height: 100px;
|
min-height: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileTarea .addropzone.dz-clickable:before {
|
.fileTarea .addropzone.dz-clickable:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
content: "Arrastre el archivo";
|
content: "Arrastre el archivo";
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
.fileTarea .addropzone.dz-clickable:before,.fileTarea .addropzone.dz-clickable:after {
|
||||||
color: #808080;
|
color: #808080;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
margin-top: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileTarea .addropzone .dz-preview, .fileTarea .dropzone-previews .dz-preview {
|
.fileTarea .addropzone .dz-preview, .fileTarea .dropzone-previews .dz-preview {
|
||||||
@@ -116,9 +118,9 @@
|
|||||||
<div class="form-group form-md-line-input">
|
<div class="form-group form-md-line-input">
|
||||||
<asp:DropDownList ID="DdlPrioridad" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
<asp:DropDownList ID="DdlPrioridad" runat="server" CssClass="form-control select2me input-sm" Width="100%">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
<asp:ListItem Text="Baja" Value="1" class="itembaja"></asp:ListItem>
|
<asp:ListItem Text="Baja" Value="1" ></asp:ListItem>
|
||||||
<asp:ListItem Text="Media" Value="2" class="itemmedia"></asp:ListItem>
|
<asp:ListItem Text="Media" Value="2" ></asp:ListItem>
|
||||||
<asp:ListItem Text="Alta" Value="3" class="itemalta"></asp:ListItem>
|
<asp:ListItem Text="Alta" Value="3" ></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<asp:RequiredFieldValidator ID="RFVPrioridad" runat="server" ControlToValidate="DdlPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RFVPrioridad" runat="server" ControlToValidate="DdlPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="GrpTarea"></asp:RequiredFieldValidator>
|
||||||
<asp:Label runat="server" AssociatedControlID="DdlPrioridad">Prioridad:</asp:Label>
|
<asp:Label runat="server" AssociatedControlID="DdlPrioridad">Prioridad:</asp:Label>
|
||||||
|
|||||||
@@ -169,17 +169,8 @@
|
|||||||
<asp:HyperLink ID="HplReferencia" Target="_blank" CssClass="Texto" runat="server" Text='<%# Eval("Referencia")%>' ></asp:HyperLink>
|
<asp:HyperLink ID="HplReferencia" Target="_blank" CssClass="Texto" runat="server" Text='<%# Eval("Referencia")%>' ></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<asp:BoundField HeaderText="Cargo" DataField="Cargo" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right"/>
|
||||||
<asp:TemplateField HeaderText="Cargo" ItemStyle-HorizontalAlign="Right">
|
<asp:BoundField HeaderText="Abono" DataField="Abono" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right"/>
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Label runat="server" ID="LblCargo" Text='<%# Eval("Cargo", "{0:N2}") %>'></asp:Label>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Abono" ItemStyle-HorizontalAlign="Right">
|
|
||||||
<ItemTemplate>
|
|
||||||
<asp:Label runat="server" ID="LblAbono" Text='<%# Eval("Abono", "{0:N2}") %>'></asp:Label>
|
|
||||||
</ItemTemplate>
|
|
||||||
</asp:TemplateField>
|
|
||||||
<asp:TemplateField HeaderText="Moneda">
|
<asp:TemplateField HeaderText="Moneda">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" ID="LblMoneda" Text='<%# Eval("Abreviatura") %>'></asp:Label>
|
<asp:Label runat="server" ID="LblMoneda" Text='<%# Eval("Abreviatura") %>'></asp:Label>
|
||||||
|
|||||||
@@ -2396,6 +2396,54 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="portlet light xspadding bordered">
|
||||||
|
<div class="portlet-title">
|
||||||
|
<div class="caption font-green">
|
||||||
|
<i class="icon-pin font-green"></i>
|
||||||
|
<span class="caption-subject bold uppercase">Pagos no bancarios</span>
|
||||||
|
</div>
|
||||||
|
<div class="actions">
|
||||||
|
<div class="btn-group">
|
||||||
|
<asp:UpdatePanel UpdateMode="Conditional" runat="server" ID="UpdatePanel10">
|
||||||
|
<ContentTemplate>
|
||||||
|
<asp:LinkButton ID="LnkPagosNoBancariosPDF" runat="server" data-toggle="tooltip" Title="PDF"> <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="LnkPagosNoBancariosExcel" runat="server" data-toggle="tooltip" Title="Excel"><i class="fa fa-file-excel-o" style="margin-right: 10px; font-size:15px; font-weight:bold; color:dimgray;"></i> </asp:LinkButton>
|
||||||
|
</ContentTemplate>
|
||||||
|
<Triggers>
|
||||||
|
<asp:PostBackTrigger ControlID="LnkPagosNoBancariosPDF" />
|
||||||
|
<asp:PostBackTrigger ControlID="LnkPagosNoBancariosExcel" />
|
||||||
|
</Triggers>
|
||||||
|
</asp:UpdatePanel>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="portlet-body">
|
||||||
|
<div class="row col-md-12" align="right">
|
||||||
|
<input type="text" id="TxtBusquedaPagosNoBancarios" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusquedaPagosNoBancarios','{0}')", GvPagosNoBancarios.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
|
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusquedaPagosNoBancarios','{0}')", GvPagosNoBancarios.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table-scrollable">
|
||||||
|
<asp:GridView ID="GvPagosNoBancarios" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron pagos no bancarios" Width="50%"
|
||||||
|
CssClass="table table-striped table-advance table-hover ScrollAD" data-sort="false" BorderWidth="1" BorderColor="#D3D3D3" GridLines="None" DataKeyNames="CvePrePoliza,CveCompra,CveVenta,CvePersonal,ImporteMN,VentaSerieFolio,CompraSerieFolio,NombreCompleto,FechaIng,Abreviatura">
|
||||||
|
<Columns>
|
||||||
|
<asp:BoundField HeaderText="Nombre Completo" DataField="NombreCompleto"/>
|
||||||
|
<asp:BoundField HeaderText="Fecha" DataField="FechaIng" DataFormatString="{0:dd/MM/yyyy}"/>
|
||||||
|
<asp:HyperLinkField HeaderText="Venta Serie Folio" DataTextField="VentaSerieFolio" DataNavigateUrlFields="CveVenta" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}"/>
|
||||||
|
<asp:HyperLinkField HeaderText="Compra Serie Folio" DataTextField="CompraSerieFolio" DataNavigateUrlFields="CveCompra" DataNavigateUrlFormatString="/Compras/Compras.aspx?CveCompra={0}"/>
|
||||||
|
<asp:TemplateField HeaderText="Importe" ItemStyle-HorizontalAlign="Right">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Literal ID="LtlImp" runat="server" Text='<%# Eval("ImporteMN", "{0:N2}")%>'></asp:Literal>
|
||||||
|
<asp:Literal ID="LtlMon" runat="server" Text='<%# Eval("Abreviatura")%>'></asp:Literal>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
</Columns>
|
||||||
|
</asp:GridView>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</ajax:TabPanel>
|
</ajax:TabPanel>
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -137,12 +137,12 @@
|
|||||||
<asp:HyperLink ID="HypSAT" runat="server"><%# Eval("CFDISAT")%></asp:HyperLink>
|
<asp:HyperLink ID="HypSAT" runat="server"><%# Eval("CFDISAT")%></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Sin Encontrar SAT">
|
<asp:TemplateField HeaderText="Sin encontrar SAT">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HypSIGnoSAT" runat="server"><%# Eval("CFDISIGSinSAT")%></asp:HyperLink>
|
<asp:HyperLink ID="HypSIGnoSAT" runat="server"><%# Eval("CFDISIGSinSAT")%></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Sin Encontrar SIG">
|
<asp:TemplateField HeaderText="Sin encontrar SIG">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HypSatnoSIG" runat="server"><%# Eval("CFDISATSinSIG")%></asp:HyperLink>
|
<asp:HyperLink ID="HypSatnoSIG" runat="server"><%# Eval("CFDISATSinSIG")%></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
|
|||||||
@@ -239,7 +239,7 @@
|
|||||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
<h4 class="modal-title" runat="server" style="text-align: left">Solicitar Descarga SAT</h4>
|
<h4 class="modal-title" runat="server" style="text-align: left">Solicitar descarga SAT</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
||||||
|
|||||||
@@ -106,6 +106,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user