--FIX. Recargar global de sucursales de clientes en clientes.aspx.
--FIX.Comentar facturacion de sucursales en ventas.aspx. --FIX. Filtro para sucursales de cliente en ventas.aspx
This commit is contained in:
@@ -7006,7 +7006,7 @@ Partial Class Ventas
|
||||
End If
|
||||
|
||||
DdlSucursalCliente.Items.Clear()
|
||||
Dim dtts As DataTable = GlobalDTClientesSucursales(UsuarioActual.CveEmpresa, CveCliente)
|
||||
Dim dtts As DataTable = GlobalDTClientesSucursales(UsuarioActual.CveEmpresa, CveCliente).FiltraParametros("CveClienteSucursal > 0")
|
||||
If dtts IsNot Nothing AndAlso dtts.Rows.Count > 0 Then
|
||||
DdlSucursalCliente.DataSource = dtts
|
||||
DdlSucursalCliente.Items.Insert(0, New ListItem("Matriz", "-1"))
|
||||
@@ -7018,9 +7018,9 @@ Partial Class Ventas
|
||||
End If
|
||||
|
||||
'SI UTILIZA EL RFC GENERICO PERMITE FACTURAR SUCURSAL
|
||||
If (Not UsuarioActual.Empresa.Funcionalidad(558) = "1") AndAlso (CveVenta <= 0 OrElse NuevaFactura = 1) AndAlso LblRFC.Text.Trim() = "XAXX010101000" Then
|
||||
HabilitarFacturacionSucursal()
|
||||
End If
|
||||
'If (Not UsuarioActual.Empresa.Funcionalidad(558) = "1") AndAlso (CveVenta <= 0 OrElse NuevaFactura = 1) AndAlso LblRFC.Text.Trim() = "XAXX010101000" Then
|
||||
' HabilitarFacturacionSucursal()
|
||||
'End If
|
||||
|
||||
'CargaFolios()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user