-- si es cartaporte, valide que tiene chofer y camión

This commit is contained in:
2022-03-03 11:49:19 -07:00
parent 9a834bfdfb
commit 9c4ecf7843

View File

@@ -817,19 +817,16 @@ Partial Class Inventarios_TraspasoAlmacen
#Region " GUARDAR " #Region " GUARDAR "
Protected Sub BtnGuardar_Click(sender As Object, e As EventArgs) Handles BtnGuardar.Click Protected Sub BtnGuardar_Click(sender As Object, e As EventArgs) Handles BtnGuardar.Click
'If ChkEmitirTimbrado.Checked Then If ChkEmitirCartaPorte.Checked Then
If DdlChofer.SelectedValue.ToEntero <= 0 Then
' If DdlChofer.SelectedValue.ToEntero <= 0 Then Alert("Debe de seleccionar un chofer.", TipoMensaje.MsgAdvertencia)
' Alert("Debe de seleccionar un chofer") Exit Sub
' Exit Sub End If
' End If If DdlUnidadCamion.SelectedValue.ToEntero <= 0 Then
' If DdlUnidadCamion.SelectedValue.ToEntero <= 0 Then Alert("Debe de seleccionar una unidad.", TipoMensaje.MsgAdvertencia)
' Alert("Debe de seleccionar una unidad") Exit Sub
' Exit Sub End If
' End If End If
'End If
'VALIDA ALMACEN ORIGEN Y DESTINO 'VALIDA ALMACEN ORIGEN Y DESTINO
If DdlAlmacenOrigen.SelectedValue = DdlAlmacenDestino.SelectedValue Then If DdlAlmacenOrigen.SelectedValue = DdlAlmacenDestino.SelectedValue Then