VyA asignar uno o dos choferes
This commit is contained in:
@@ -560,10 +560,18 @@ Public Class CargaEventos : Implements IHttpHandler, IRequiresSessionState
|
||||
cevent.Moneda = dr("Moneda").ToString
|
||||
cevent.NumChoferes = dr("NumChoferes").ToString.ToEntero
|
||||
|
||||
If dr("CveChofer").ToString.ToEntero <= 0 Or (dr("CveChofer2").ToString.ToEntero <= 0 And cevent.NumChoferes = 2) Or dr("CveAF").ToString.ToEntero <= 0 Then
|
||||
cevent.backgroundColor = "#bc9b1b"
|
||||
End If
|
||||
cevent.CveVentaRemision = dr("CveVentaRemision").ToString.ToEntero
|
||||
cevent.RemisionSerieFolio = dr("RemisionSerieFolio").ToString
|
||||
cevent.RemisionSaldo = dr("RemisionSaldo").ToString.ToDecimal
|
||||
cevent.TipoEstatus = dr("TipoEstatus").ToString.ToEntero
|
||||
cevent.backgroundColor = dr("backgroundColor").ToString
|
||||
|
||||
Dim BGC_Atencion As String = "#bc9b1b"
|
||||
If cevent.TipoEstatus <> 4 AndAlso cevent.TipoEstatus <> 3 Then
|
||||
If dr("CveChofer").ToString.ToEntero <= 0 Or (dr("CveChofer2").ToString.ToEntero <= 0 And cevent.NumChoferes = 2) Or dr("CveAF").ToString.ToEntero <= 0 Then
|
||||
cevent.backgroundColor = BGC_Atencion
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user