Editar uso cfdi en notas de credito, validaciones de subproyecto en PV
This commit is contained in:
@@ -4521,6 +4521,11 @@ Partial Class PV
|
||||
CargaClienteSucursal(DdlSucursalCliente.SelectedValue.ToEntero)
|
||||
End Sub
|
||||
Private Sub DdlSubProyectoDatos_SelectedIndexChanged(sender As Object, e As EventArgs) Handles DdlSubProyectoDatos.SelectedIndexChanged
|
||||
If CveVenta <= 0 AndAlso (TmpDT IsNot Nothing AndAlso TmpDT.Rows.Count > 0) Then
|
||||
Alert("No se puede cambiar el subproyecto si ya se agregaron productos y/o servicios.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
CambiaSucursalGeneral()
|
||||
CargaFoliosGarantia()
|
||||
|
||||
|
||||
@@ -2784,6 +2784,10 @@ Partial Class Ventas
|
||||
BtnCrearApartirDe.Visible = False
|
||||
End If
|
||||
If UsuarioActual.TienePermisoProceso(302) AndAlso DdlTipoComprobante.SelectedValue = "Ing" Then BtnEditar.Visible = True
|
||||
|
||||
If UsuarioActual.TienePermisoProceso(302) AndAlso DdlTipoComprobante.SelectedValue = "Egs" AndAlso LblSeTimbro.Text = "No" Then
|
||||
BtnEditar.Visible = True
|
||||
End If
|
||||
'DdlEstatus.Enabled = True
|
||||
|
||||
DivFechaAnticipoCliente.Visible = True
|
||||
|
||||
Reference in New Issue
Block a user