Empresas Zona Horaria
This commit is contained in:
@@ -72,7 +72,7 @@ Partial Class AIMMGM_Registro
|
||||
For Each dr As DataRow In dtExcursiones.Rows
|
||||
Dim AIM As New ClsAIMMGM
|
||||
|
||||
If AIM.RepVentasPS(1, -1, -1, -1, "01/01/2014".ToDate, Now, 43) Then
|
||||
If AIM.RepVentasPS(1, -1, -1, -1, "01/01/2014".ToDate, NowADS(), 43) Then
|
||||
Contador = AIM.DtResultados.COUNT("CvePS", "CvePS = " & dr("CvePS").ToString)
|
||||
If Contador >= 20 Then
|
||||
dr("CvePS") = 0
|
||||
@@ -299,7 +299,7 @@ Partial Class AIMMGM_Registro
|
||||
If System.Web.HttpContext.Current IsNot Nothing AndAlso System.Web.HttpContext.Current.Handler IsNot Nothing Then
|
||||
Dim Img, Botones As String
|
||||
Dim Titulo As String
|
||||
Dim Plus As String = DateTime.Now.Ticks.ToString
|
||||
Dim Plus As String = NowADS().Ticks.ToString
|
||||
|
||||
Mensaje = Mensaje.Replace("'"c, "\'")
|
||||
JSBtnAceptar = JSBtnAceptar.Replace("'"c, "\'")
|
||||
@@ -335,8 +335,8 @@ Partial Class AIMMGM_Registro
|
||||
|
||||
|
||||
Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.Handler, Page)
|
||||
'ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (DateTime.Now.Ticks + 1).ToString(), "MuestraAlert('" & Alerta.ToString() & "', '" & Plus & "');", True)
|
||||
ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (DateTime.Now.Ticks + 1).ToString(), String.Format("MuestraAlerta('{0}','{1}','{2}','{3}','{4}');", Titulo, Mensaje, Img, Botones, JSBtnAceptar), True)
|
||||
'ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (NowADS().Ticks + 1).ToString(), "MuestraAlert('" & Alerta.ToString() & "', '" & Plus & "');", True)
|
||||
ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (NowADS().Ticks + 1).ToString(), String.Format("MuestraAlerta('{0}','{1}','{2}','{3}','{4}');", Titulo, Mensaje, Img, Botones, JSBtnAceptar), True)
|
||||
Pag = Nothing
|
||||
Catch ex As Exception
|
||||
|
||||
@@ -420,7 +420,7 @@ Partial Class AIMMGM_Registro
|
||||
Dim tnombre As String
|
||||
Dim TieneExcursion As Boolean = False
|
||||
'DdlFiscalMetodoPago.SelectedValue.ToEntero1,
|
||||
If Venta.AddVenta("Rem", 0, CveCliente, 2069, TmpDT.SUM("Total"), 0, 0, 0, 0, 0, TmpDT.SUM("Total"), 1, 0, CveMetodoPago, 0, 0, Now, "", "", 0, Now, -1, -1, "", "", "", 0, 0, 0, 0, DateTime.MinValue, DateTime.MinValue, DateTime.MinValue, -1, -1, 0, 1, 0, 2069, 43) Then
|
||||
If Venta.AddVenta("Rem", 0, CveCliente, 2069, TmpDT.SUM("Total"), 0, 0, 0, 0, 0, TmpDT.SUM("Total"), 1, 0, CveMetodoPago, 0, 0, NowADS(), "", "", 0, NowADS(), -1, -1, "", "", "", 0, 0, 0, 0, DateTime.MinValue, DateTime.MinValue, DateTime.MinValue, -1, -1, 0, 1, 0, 2069, 43) Then
|
||||
Dim CveVenta As Integer = Venta.CveVenta
|
||||
For Each dr As DataRow In TmpDT.Rows
|
||||
Dim CveUnidadMedida As Integer
|
||||
@@ -555,7 +555,7 @@ Partial Class AIMMGM_Registro
|
||||
Dim Liga As String = "http://aimmgm.adsistemas.mx/AIMMGM/Portal.aspx"
|
||||
|
||||
|
||||
Dim LigaActivar As String = Liga & "?p=" & Encripta("CveU=" & CveUsr & "&Clave=" & CveCliente & "&Opcion=Activar&Hora=" & DateTime.Now.Ticks)
|
||||
Dim LigaActivar As String = Liga & "?p=" & Encripta("CveU=" & CveUsr & "&Clave=" & CveCliente & "&Opcion=Activar&Hora=" & NowADS().Ticks)
|
||||
|
||||
Dim strSQL As New StringBuilder
|
||||
strSQL.Append(" <html> ")
|
||||
|
||||
Reference in New Issue
Block a user