-- condicion para que no marque error
This commit is contained in:
@@ -314,8 +314,11 @@ Partial Class CGame_OrdenProduccion
|
|||||||
If ObjCGame.GetOrdenProduccionDetalle(CveOrdenProduccion, UsuarioActual.CveEmpresa) Then
|
If ObjCGame.GetOrdenProduccionDetalle(CveOrdenProduccion, UsuarioActual.CveEmpresa) Then
|
||||||
DtDetalle = ObjCGame.DtResultados
|
DtDetalle = ObjCGame.DtResultados
|
||||||
GvOP.DataSource = DtDetalle
|
GvOP.DataSource = DtDetalle
|
||||||
Tipo = DtDetalle.Rows(0)("Tipo").ToString.ToEntero
|
If DtDetalle IsNot Nothing AndAlso DtDetalle.Rows.Count > 0 Then
|
||||||
If Tipo = 2 Then GvLiquidacion.Columns(6).Visible = True : GvLiquidacion.Columns(7).Visible = True : DivPesoPagado.Visible = True : GvLiquidacionModal.Columns(2).Visible = True : RFVPesoPagado.Enabled = True
|
Tipo = DtDetalle.Rows(0)("Tipo").ToString.ToEntero
|
||||||
|
If Tipo = 2 Then GvLiquidacion.Columns(6).Visible = True : GvLiquidacion.Columns(7).Visible = True : DivPesoPagado.Visible = True : GvLiquidacionModal.Columns(2).Visible = True : RFVPesoPagado.Enabled = True
|
||||||
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user