Empresas Zona Horaria
This commit is contained in:
@@ -49,7 +49,7 @@ Partial Class AIMMGM_ConsultaCliente
|
||||
Session("FileUpload") = ""
|
||||
ViewState("Orden") = ""
|
||||
ViewState("ONombre") = "Nombre DESC"
|
||||
TxtFecha.Text = Now.ToShortDateString
|
||||
TxtFecha.Text = NowADS().ToShortDateString
|
||||
|
||||
If Request("CveCliente") IsNot Nothing Then
|
||||
CveCliente = Request("CveCliente").ToString.ToEntero()
|
||||
@@ -266,7 +266,7 @@ Partial Class AIMMGM_ConsultaCliente
|
||||
Venta.UpdateVentas(dr("SubTotal").ToString.ToDouble - Total, 0, 0, dr("SubTotal").ToString.ToDouble - Total, 1, 1, dr("Fecha").ToString.ToDate, "", 43, CveVenta, "Rem")
|
||||
Alert("El Registro ha sido eliminado", TipoMensaje.MsgInformacion)
|
||||
If MovimientosVentas.ToEntero = 1 Then 'se cancela la venta en su totalidad
|
||||
Venta.UpdateEstatusFactura(4, "", "", Now, CveVenta)
|
||||
Venta.UpdateEstatusFactura(4, "", "", NowADS(), CveVenta)
|
||||
End If
|
||||
|
||||
Venta.Commit()
|
||||
@@ -473,10 +473,10 @@ Partial Class AIMMGM_ConsultaCliente
|
||||
|
||||
' Dim EsVistaPrevia As Boolean = True
|
||||
|
||||
' xlsxFileOut = String.Format("Format{0}-{1}.xlsx", Opcion, Now.Ticks)
|
||||
' xlsxFileOut = String.Format("Format{0}-{1}.xlsx", Opcion, NowADS().Ticks)
|
||||
|
||||
' 'Exportar PDF
|
||||
' pdfFileOut = String.Format("Format{0}-{1}.pdf", Opcion, Now.Ticks)
|
||||
' pdfFileOut = String.Format("Format{0}-{1}.pdf", Opcion, NowADS().Ticks)
|
||||
' Dim outputFileName As Object = Ruta & xlsxFileOut
|
||||
|
||||
' If IO.File.Exists(Ruta & "FormatoAIMMGM33.xlsx") Then
|
||||
@@ -758,7 +758,7 @@ Partial Class AIMMGM_ConsultaCliente
|
||||
Dim Liga As String = "http://aimmgm.adsistemas.mx/AIMMGM/Portal.aspx"
|
||||
|
||||
|
||||
Dim LigaActivar As String = Liga & "?p=" & Extensiones.Encripta("CveU=" & CveUsr & "&Clave=" & CveCliente & "&Opcion=Activar&Hora=" & DateTime.Now.Ticks)
|
||||
Dim LigaActivar As String = Liga & "?p=" & Extensiones.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