-- si es cartaporte, valide que tiene chofer y camión
This commit is contained in:
@@ -817,19 +817,16 @@ Partial Class Inventarios_TraspasoAlmacen
|
||||
#Region " GUARDAR "
|
||||
Protected Sub BtnGuardar_Click(sender As Object, e As EventArgs) Handles BtnGuardar.Click
|
||||
|
||||
'If ChkEmitirTimbrado.Checked Then
|
||||
|
||||
' If DdlChofer.SelectedValue.ToEntero <= 0 Then
|
||||
' Alert("Debe de seleccionar un chofer")
|
||||
' Exit Sub
|
||||
' End If
|
||||
' If DdlUnidadCamion.SelectedValue.ToEntero <= 0 Then
|
||||
' Alert("Debe de seleccionar una unidad")
|
||||
' Exit Sub
|
||||
' End If
|
||||
|
||||
|
||||
'End If
|
||||
If ChkEmitirCartaPorte.Checked Then
|
||||
If DdlChofer.SelectedValue.ToEntero <= 0 Then
|
||||
Alert("Debe de seleccionar un chofer.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
If DdlUnidadCamion.SelectedValue.ToEntero <= 0 Then
|
||||
Alert("Debe de seleccionar una unidad.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
||||
'VALIDA ALMACEN ORIGEN Y DESTINO
|
||||
If DdlAlmacenOrigen.SelectedValue = DdlAlmacenDestino.SelectedValue Then
|
||||
|
||||
Reference in New Issue
Block a user