From e4b610d3dafe64da8a0c69bc3f01f54bc11f91e2 Mon Sep 17 00:00:00 2001 From: rakcsle Date: Fri, 13 Oct 2023 14:42:13 -0700 Subject: [PATCH] Ajustes subida --- OC/CotizacionEnLinea.aspx.vb | 4 ++-- Sistemas/Registro.aspx.vb | 2 +- Sistemas/RegistroEmpresa.aspx.vb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OC/CotizacionEnLinea.aspx.vb b/OC/CotizacionEnLinea.aspx.vb index 245e73b4d..f2633bf04 100644 --- a/OC/CotizacionEnLinea.aspx.vb +++ b/OC/CotizacionEnLinea.aspx.vb @@ -295,7 +295,7 @@ Partial Class OC_CotizacionEnLinea objCotizacion.IniciaTransacSQL() Dim TieneError = False - If objCotizacion.UpdateCotizacion(CveProveedor, CveColectiva, TxtFolio.Text, NowADS().ToShortDateString(), IO.Path.GetExtension(FUArchivo.FileName), ddlMoneda.SelectedValue.ToEntero, TxtDiasCredito.Text.ToEntero, 0, CveCotizacion) Then + If objCotizacion.UpdateCotizacion(CveProveedor, CveColectiva, TxtFolio.Text, ClsPaginas.NowADS().ToShortDateString(), IO.Path.GetExtension(FUArchivo.FileName), ddlMoneda.SelectedValue.ToEntero, TxtDiasCredito.Text.ToEntero, 0, CveCotizacion) Then If FUArchivo.HasFile Then 'verificar que exista el directorio @@ -509,7 +509,7 @@ Partial Class OC_CotizacionEnLinea Protected Sub GvD_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvD.RowDataBound If e.Row.RowType = DataControlRowType.DataRow Then - e.Row.FCCalendarExtender("CEFechaEntrega").StartDate = NowADS() + e.Row.FCCalendarExtender("CEFechaEntrega").StartDate = ClsPaginas.NowADS() e.Row.FCTextBox("TxtPU").Attributes.Add("onchange", String.Format("$get('{0}').value = FormatNumber(parseFloat(this.value) * parseFloat($get('{1}').value), 2, true, true, true);", e.Row.FCTextBox("TxtImporte").ClientID, e.Row.FCTextBox("TxtCant").ClientID)) Page.ClientScript.RegisterExpandoAttribute(e.Row.FCCustomValidator("CVFechaEntrega").ClientID, "txtCantidadSurtir", e.Row.FCTextBox("txtCantidadSurtir").ClientID, False) diff --git a/Sistemas/Registro.aspx.vb b/Sistemas/Registro.aspx.vb index 5d1ca9cf3..728fbb8d1 100644 --- a/Sistemas/Registro.aspx.vb +++ b/Sistemas/Registro.aspx.vb @@ -123,7 +123,7 @@ Partial Class Sistemas_Registro strBody.Append(" ") strBody.Append(" Fecha") strBody.Append(" ") - strBody.Append(NowADS().ToString("dd/MM/yy")) + strBody.Append(ClsPaginas.NowADS().ToString("dd/MM/yy")) strBody.Append(" ") strBody.Append(" ") strBody.AppendFormat(" Buen día, {0} ", Nombre) diff --git a/Sistemas/RegistroEmpresa.aspx.vb b/Sistemas/RegistroEmpresa.aspx.vb index f8a265fc1..205bb4874 100644 --- a/Sistemas/RegistroEmpresa.aspx.vb +++ b/Sistemas/RegistroEmpresa.aspx.vb @@ -135,7 +135,7 @@ Partial Class Sistemas_RegistroEmpresa strBody.Append(" ") strBody.Append(" ") strBody.Append(" ") strBody.Append(" ")
Fecha: ") - strBody.Append(NowADS().ToString("dd/MM/yy")) + strBody.Append(ClsPaginas.NowADS().ToString("dd/MM/yy")) strBody.Append(" ") strBody.Append("