Empresas Zona Horaria
This commit is contained in:
@@ -80,8 +80,8 @@ Partial Class Bancos_RepComplementoPago
|
||||
|
||||
If Not Page.IsPostBack Then
|
||||
|
||||
txtFechaI.Text = $"{New DateTime(Now.Year, Now.Month, 1).ToString("dd/MM/yyyy")}"
|
||||
txtFechaF.Text = DateTime.Now.ToString("dd/MM/yyyy")
|
||||
txtFechaI.Text = $"{New DateTime(NowADS().Year, NowADS().Month, 1).ToString("dd/MM/yyyy")}"
|
||||
txtFechaF.Text = NowADS().ToString("dd/MM/yyyy")
|
||||
DdlCliente.setEsWebService(True)
|
||||
|
||||
DdlMotivoCancelacion.DataSource = GlobalDTMotivosCancelacionEmpresa(UsuarioActual.CveEmpresa).FiltraParametros("CveSATMotivoCancelacion = 2 or CveSATMotivoCancelacion = 3 ")
|
||||
@@ -139,11 +139,11 @@ Partial Class Bancos_RepComplementoPago
|
||||
|
||||
For Each gvr As GridViewRow In GvD.Rows
|
||||
If gvr.FCCheckBox("Chk").Checked Then
|
||||
Dim FechaTimbrado As DateTime = DateTime.Now
|
||||
Dim FechaTimbrado As DateTime = NowADS()
|
||||
|
||||
Dim UTCOffset As Integer = 0
|
||||
|
||||
If Now.EsHorarioVerano Then
|
||||
If NowADS().EsHorarioVerano Then
|
||||
If gvr.DataKey("UTCOffsetVerano").ToEntero() <> 0 Then
|
||||
UTCOffset = gvr.DataKey("UTCOffsetVerano").ToEntero()
|
||||
End If
|
||||
@@ -545,7 +545,7 @@ Partial Class Bancos_RepComplementoPago
|
||||
worksheet.Rows(IndexEndTable + 1).Cells(2).Value = Usuario.Nombre
|
||||
|
||||
worksheet.Rows(IndexEndTable).Cells(6).Value = "Fecha Impresión"
|
||||
worksheet.Rows(IndexEndTable + 1).Cells(6).Value = DateTime.Now.ToString("dd/MM/yyyy")
|
||||
worksheet.Rows(IndexEndTable + 1).Cells(6).Value = NowADS().ToString("dd/MM/yyyy")
|
||||
|
||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", Usuario.Empresa.Ruta))
|
||||
|
||||
@@ -592,7 +592,7 @@ Partial Class Bancos_RepComplementoPago
|
||||
|
||||
If EstatusSATCancelado(Can_FolioFiscalCancelar, UsuarioActual.Empresa.RFC, Can_RFCReceptorCancelar) Then
|
||||
|
||||
If ObjBanco.UpdateComplementoPagoCancelado(Can_CveComplementoPagoCancelar, 2, UsuarioActual.CveEmpresa, Can_CvePACCancelacion, Date.Now, "", CveSATMotivoCancelacion) Then
|
||||
If ObjBanco.UpdateComplementoPagoCancelado(Can_CveComplementoPagoCancelar, 2, UsuarioActual.CveEmpresa, Can_CvePACCancelacion, NowADS(), "", CveSATMotivoCancelacion) Then
|
||||
Alert("El complemento se cancelo correctamente.")
|
||||
ErrorProceso = False
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user