Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -7214,10 +7214,14 @@ Partial Class Ventas
|
|||||||
If Opcion = "Cot" Then
|
If Opcion = "Cot" Then
|
||||||
DdlTipoComprobante.SelectedValueExist("Cot")
|
DdlTipoComprobante.SelectedValueExist("Cot")
|
||||||
Else
|
Else
|
||||||
If Not String.IsNullOrEmpty(UsuarioActual.CveTipoDocumento) Then
|
'SI ES REFACTURACION NO DEBE CAMBIAR EL TIPÖ DOCTO
|
||||||
DdlTipoComprobante.SelectedValueExist(UsuarioActual.CveTipoDocumento)
|
If Not (Request("NuevaFactura") IsNot Nothing AndAlso Request("NuevaFactura").ToString() = "1") Then
|
||||||
DdlTipoComprobante_SelectedIndexChanged(DdlTipoComprobante, Nothing)
|
If Not String.IsNullOrEmpty(UsuarioActual.CveTipoDocumento) Then
|
||||||
|
DdlTipoComprobante.SelectedValueExist(UsuarioActual.CveTipoDocumento)
|
||||||
|
DdlTipoComprobante_SelectedIndexChanged(DdlTipoComprobante, Nothing)
|
||||||
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -32174,8 +32178,12 @@ Partial Class Ventas
|
|||||||
HdnIVAOriginal.Value = TxtIVA.Text
|
HdnIVAOriginal.Value = TxtIVA.Text
|
||||||
End If
|
End If
|
||||||
|
|
||||||
RBLPago.Items(0).Enabled = True 'sino está activo lo activamos porque las remisiones pueden ser a crédito
|
If UsuarioActual.Empresa.Funcionalidad(109) = "1" Then
|
||||||
RBLPago.SelectedValue = "1"
|
RBLPago.SelectedValuesIfExist(dtSeleccionadas.FiltroPrimeroValor("CondicionesPago"))
|
||||||
|
Else
|
||||||
|
RBLPago.Items(0).Enabled = True 'sino está activo lo activamos porque las remisiones pueden ser a crédito
|
||||||
|
RBLPago.SelectedValue = "1"
|
||||||
|
End If
|
||||||
|
|
||||||
RemisionesLista.Clear()
|
RemisionesLista.Clear()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user