-- mejoras
This commit is contained in:
@@ -86,6 +86,7 @@ Partial Class Boletos
|
|||||||
Protected Sub InicializaCombos()
|
Protected Sub InicializaCombos()
|
||||||
'Lista Destinos''carga específicos
|
'Lista Destinos''carga específicos
|
||||||
Dim ObjDestinos As New ClsTransportes()
|
Dim ObjDestinos As New ClsTransportes()
|
||||||
|
|
||||||
If ObjDestinos.GetDestinos(CveRuta:=CveRuta) Then
|
If ObjDestinos.GetDestinos(CveRuta:=CveRuta) Then
|
||||||
|
|
||||||
If ObjDestinos.DtResultados.Rows.Count > 0 Then
|
If ObjDestinos.DtResultados.Rows.Count > 0 Then
|
||||||
@@ -159,6 +160,7 @@ Partial Class Boletos
|
|||||||
ObjTransporte.Commit()
|
ObjTransporte.Commit()
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
ObjTransporte.RollBack()
|
||||||
Alert($"No se pudo generar el boleto {ex}", TipoMensaje.MsgError)
|
Alert($"No se pudo generar el boleto {ex}", TipoMensaje.MsgError)
|
||||||
Finally
|
Finally
|
||||||
ObjTransporte.Dispose()
|
ObjTransporte.Dispose()
|
||||||
|
|||||||
Reference in New Issue
Block a user