Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -457,8 +457,6 @@ Public Class CargaEventos : Implements IHttpHandler, IRequiresSessionState
|
||||
For Each dr As DataRow In ObjContratos.DtResultados.Rows
|
||||
Dim cevent As CalendarEvent = New CalendarEvent()
|
||||
|
||||
Dim estatus As Integer = dr("EstatusContrato").ToString.ToEntero
|
||||
|
||||
cevent.id = dr("CveContrato").ToString.ToEntero
|
||||
cevent.title = dr("DescripcionContrato").ToString
|
||||
cevent.start = String.Format("{0:s}", dr("FechaInicial").ToString.ToDateTime)
|
||||
@@ -471,15 +469,8 @@ Public Class CargaEventos : Implements IHttpHandler, IRequiresSessionState
|
||||
cevent.Pesos = dr("ImporteMax").ToString.ToDecimal
|
||||
cevent.Anticipo = dr("ImporteMin").ToString.ToDecimal
|
||||
cevent.CveActivoFijo = dr("CveAF").ToString.ToEntero
|
||||
cevent.backgroundColor = dr("BackgroundColor").ToString
|
||||
|
||||
Select Case estatus
|
||||
Case 1
|
||||
cevent.backgroundColor = "#00A56A"
|
||||
Case 2
|
||||
cevent.backgroundColor = "#2B4FD6"
|
||||
Case 3
|
||||
cevent.backgroundColor = "#EE602E"
|
||||
End Select
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user