Ruta personalizada por Empresa
This commit is contained in:
@@ -363,7 +363,7 @@ Partial Class Ventas_PortalCliente
|
||||
'Dim ObjEmprea As New ClsEmpresas()
|
||||
'If ObjEmprea.GetEmpresas(UsuarioActual.CveEmpresa, "-1", "-1", "-1", "-1") Then
|
||||
Dim ObjMail As New ClsSisMail()
|
||||
Dim Ruta As String = ModExtensiones.DirectorioBaseEmpresas & "Empresas\" & UsuarioActual.CveEmpresa & "\"
|
||||
Dim Ruta As String = UsuarioActual.Empresa.Ruta
|
||||
|
||||
If File.Exists(Ruta & "PDF\" & HdnFolioVenta.Value & ".pdf") AndAlso File.Exists(Ruta & "XML\" & HdnFolioVenta.Value & ".xml") Then
|
||||
Dim PDF As String = Ruta & "PDF\" & HdnFolioVenta.Value & ".pdf"
|
||||
@@ -1309,7 +1309,7 @@ Partial Class Ventas_PortalCliente
|
||||
If e.Row.RowIndex >= 0 Then
|
||||
e.Row.Cells(0).Width = Unit.Pixel(100)
|
||||
'CARGAR IMAGENES DE PERSONAL
|
||||
If File.Exists(ModExtensiones.DirectorioBaseEmpresas & "Empresas\" & UsuarioActual.CveEmpresa & "\RH\Personal\" & e.Row.DBCampo("URL") & ".png") Then
|
||||
If File.Exists(UsuarioActual.Empresa.Ruta & "RH\Personal\" & e.Row.DBCampo("URL") & ".png") Then
|
||||
e.Row.FCImage("ImgPersonal").ImageUrl = "/Empresas/" & UsuarioActual.CveEmpresa & "/RH/Personal/" & e.Row.DBCampo("URL") & ".png"
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user