Ajustes subida

This commit is contained in:
rakcsle
2023-10-13 14:42:13 -07:00
parent d64475f98a
commit e4b610d3da
3 changed files with 4 additions and 4 deletions

View File

@@ -295,7 +295,7 @@ Partial Class OC_CotizacionEnLinea
objCotizacion.IniciaTransacSQL() objCotizacion.IniciaTransacSQL()
Dim TieneError = False 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 If FUArchivo.HasFile Then
'verificar que exista el directorio '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 Protected Sub GvD_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvD.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then 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)) 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) Page.ClientScript.RegisterExpandoAttribute(e.Row.FCCustomValidator("CVFechaEntrega").ClientID, "txtCantidadSurtir", e.Row.FCTextBox("txtCantidadSurtir").ClientID, False)

View File

@@ -123,7 +123,7 @@ Partial Class Sistemas_Registro
strBody.Append(" <tr>") strBody.Append(" <tr>")
strBody.Append(" <td>Fecha</td>") strBody.Append(" <td>Fecha</td>")
strBody.Append(" <td>") strBody.Append(" <td>")
strBody.Append(NowADS().ToString("dd/MM/yy")) strBody.Append(ClsPaginas.NowADS().ToString("dd/MM/yy"))
strBody.Append("</td> </tr>") strBody.Append("</td> </tr>")
strBody.Append(" <tr>") strBody.Append(" <tr>")
strBody.AppendFormat(" <td>Buen día, {0} </td>", Nombre) strBody.AppendFormat(" <td>Buen día, {0} </td>", Nombre)

View File

@@ -135,7 +135,7 @@ Partial Class Sistemas_RegistroEmpresa
strBody.Append(" <table class=""mitablita"" style=""font-family: Helvetica, sans-serif;"">") strBody.Append(" <table class=""mitablita"" style=""font-family: Helvetica, sans-serif;"">")
strBody.Append(" <tr>") strBody.Append(" <tr>")
strBody.Append(" <td>Fecha: ") strBody.Append(" <td>Fecha: ")
strBody.Append(NowADS().ToString("dd/MM/yy")) strBody.Append(ClsPaginas.NowADS().ToString("dd/MM/yy"))
strBody.Append(" </td> <td>") strBody.Append(" </td> <td>")
strBody.Append("</td> </tr>") strBody.Append("</td> </tr>")
strBody.Append(" <tr>") strBody.Append(" <tr>")