--FIX para E01
This commit is contained in:
@@ -523,7 +523,7 @@ Partial Class Ventas_PVCobranza
|
|||||||
HdnVentaCondicionesPago.Value = GvRow.DataKey("CondicionesPago")
|
HdnVentaCondicionesPago.Value = GvRow.DataKey("CondicionesPago")
|
||||||
HdnPlazoCobranza.Value = GvRow.DataKey("PlazoCobranza")
|
HdnPlazoCobranza.Value = GvRow.DataKey("PlazoCobranza")
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa = 189 AndAlso GvRow.DataKey("TipoDocto") = "Rem" Then
|
If UsuarioActual.CveEmpresa.Contiene(189, 1) AndAlso GvRow.DataKey("TipoDocto") = "Rem" Then
|
||||||
DivAnticipo.Visible = True
|
DivAnticipo.Visible = True
|
||||||
ImgAntiPend.Visible = True
|
ImgAntiPend.Visible = True
|
||||||
End If
|
End If
|
||||||
@@ -572,6 +572,9 @@ Partial Class Ventas_PVCobranza
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub BtnPagar_Click(sender As Object, e As EventArgs) Handles BtnPagar.Click
|
Private Sub BtnPagar_Click(sender As Object, e As EventArgs) Handles BtnPagar.Click
|
||||||
|
|
||||||
|
Dim GenerarFac As Boolean = UsuarioActual.CveEmpresa.Contiene(1, 189, 197)
|
||||||
|
|
||||||
'registrar pago
|
'registrar pago
|
||||||
Dim VentaContado As Boolean = HdnVentaCondicionesPago.Value = "0"
|
Dim VentaContado As Boolean = HdnVentaCondicionesPago.Value = "0"
|
||||||
|
|
||||||
@@ -680,7 +683,7 @@ Partial Class Ventas_PVCobranza
|
|||||||
Dim PlazoCobranza As Integer = HdnPlazoCobranza.Value.ToEntero
|
Dim PlazoCobranza As Integer = HdnPlazoCobranza.Value.ToEntero
|
||||||
Try
|
Try
|
||||||
'FACTURAR LA REMISION PARA HACER EL PAGO
|
'FACTURAR LA REMISION PARA HACER EL PAGO
|
||||||
If UsuarioActual.CveEmpresa.Contiene(1, 189, 197) AndAlso VentaActual.TipoDocto = "Rem" Then
|
If GenerarFac AndAlso VentaActual.TipoDocto = "Rem" Then
|
||||||
|
|
||||||
CveVentaRemision = HdnCveVenta.Value.ToEntero
|
CveVentaRemision = HdnCveVenta.Value.ToEntero
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user