quitando nombre de empresa a los correos en html
This commit is contained in:
@@ -787,11 +787,11 @@ public partial class General_PopUpPaqueteriasGuias : ClsPaginas
|
|||||||
strBody.Append(" <br/>");
|
strBody.Append(" <br/>");
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>");
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>");
|
||||||
strBody.Append(" Gracias por realizar pedido <br/>");
|
strBody.Append(" Gracias por realizar pedido <br/>");
|
||||||
strBody.Append(" Compuproveedores");
|
//strBody.Append(" Compuproveedores");
|
||||||
strBody.Append(" </p>");
|
strBody.Append(" </p>");
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>");
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>");
|
||||||
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>");
|
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>");
|
||||||
strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>");
|
//strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>");
|
||||||
strBody.Append("");
|
strBody.Append("");
|
||||||
strBody.Append(" </p>");
|
strBody.Append(" </p>");
|
||||||
strBody.Append(" </body>");
|
strBody.Append(" </body>");
|
||||||
|
|||||||
@@ -254,7 +254,8 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
if (UsuarioActual.CveRol == 1339)
|
if (UsuarioActual.CveRol == 1339)
|
||||||
{
|
{
|
||||||
DdlEstatus.Items.Insert(0, new ListItem("En Proceso ", "2"));
|
DdlEstatus.Items.Insert(0, new ListItem("En Proceso ", "2"));
|
||||||
}else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
DdlEstatus.Items.Insert(0, new ListItem("Todos ", "-1"));
|
DdlEstatus.Items.Insert(0, new ListItem("Todos ", "-1"));
|
||||||
DdlEstatus.Items.Insert(1, new ListItem("Pendiente ", "1"));
|
DdlEstatus.Items.Insert(1, new ListItem("Pendiente ", "1"));
|
||||||
@@ -272,7 +273,8 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
DdlEstatusEditar.Items.Insert(4, new ListItem("Confirmado por Cliente", "4"));
|
DdlEstatusEditar.Items.Insert(4, new ListItem("Confirmado por Cliente", "4"));
|
||||||
DdlEstatusEditar.SelectedValue = "-1";
|
DdlEstatusEditar.SelectedValue = "-1";
|
||||||
|
|
||||||
if(UsuarioActual.Empresa.Funcionalidad(280) == "1"){
|
if (UsuarioActual.Empresa.Funcionalidad(280) == "1")
|
||||||
|
{
|
||||||
DivEstatusEntrega.Visible = true;
|
DivEstatusEntrega.Visible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -282,7 +284,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
{
|
{
|
||||||
if (UsuarioActual.CveRol == 1339)
|
if (UsuarioActual.CveRol == 1339)
|
||||||
{
|
{
|
||||||
DdlUsuarios.DataSource = get_GlobalDTUsuarios(CveEmpresa:UsuarioActual.CveEmpresa).FiltraParametros(String.Format("CveRol = {0}",UsuarioActual.CveRol));
|
DdlUsuarios.DataSource = get_GlobalDTUsuarios(CveEmpresa: UsuarioActual.CveEmpresa).FiltraParametros(String.Format("CveRol = {0}", UsuarioActual.CveRol));
|
||||||
DdlUsuarios.DataBind();
|
DdlUsuarios.DataBind();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -494,7 +496,8 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
if (mostrarDescarga)
|
if (mostrarDescarga)
|
||||||
{
|
{
|
||||||
DivDownloadGuia.Visible = true;
|
DivDownloadGuia.Visible = true;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
DivDownloadGuia.Visible = false;
|
DivDownloadGuia.Visible = false;
|
||||||
}
|
}
|
||||||
@@ -716,7 +719,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
int EstatusEntregado = 3;
|
int EstatusEntregado = 3;
|
||||||
|
|
||||||
//Mandamos a actualizar solo el estatus
|
//Mandamos a actualizar solo el estatus
|
||||||
if (!ObjGral.UpdatePaqueteriasGuias(CvePaqueteriaGuia,-1, -1, -1, EstatusEntregado, "-1", "", "", -1, -1, "-1", "-1", ""))
|
if (!ObjGral.UpdatePaqueteriasGuias(CvePaqueteriaGuia, -1, -1, -1, EstatusEntregado, "-1", "", "", -1, -1, "-1", "-1", ""))
|
||||||
{
|
{
|
||||||
TieneError = true;
|
TieneError = true;
|
||||||
}
|
}
|
||||||
@@ -732,7 +735,8 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
if (MensajeEnviado)
|
if (MensajeEnviado)
|
||||||
{
|
{
|
||||||
Alert(String.Format("El Archivo ha sido guardado y el estatus de la Guía ha sido actualizado correctamente. <br><br>Correo enviado exitosamente a {0}.", Destinatario));
|
Alert(String.Format("El Archivo ha sido guardado y el estatus de la Guía ha sido actualizado correctamente. <br><br>Correo enviado exitosamente a {0}.", Destinatario));
|
||||||
}else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
Alert(String.Format("El Archivo ha sido guardado y el estatus de la Guía ha sido actualizado correctamente. <br><br>Error al Notificar al Cliente a su correo: {0}.", Destinatario));
|
Alert(String.Format("El Archivo ha sido guardado y el estatus de la Guía ha sido actualizado correctamente. <br><br>Error al Notificar al Cliente a su correo: {0}.", Destinatario));
|
||||||
}
|
}
|
||||||
@@ -793,7 +797,8 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
if (descargar)
|
if (descargar)
|
||||||
{
|
{
|
||||||
DescargarArchivo(file);
|
DescargarArchivo(file);
|
||||||
}else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
if (!file.Exists)
|
if (!file.Exists)
|
||||||
{
|
{
|
||||||
@@ -813,7 +818,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
{
|
{
|
||||||
Response.Clear();
|
Response.Clear();
|
||||||
|
|
||||||
Response.AddHeader("Content-Disposition", "attachment; filename="+ String.Format("Guia {0} - {1}{2}",Paqueteria, Guia,File.Extension));
|
Response.AddHeader("Content-Disposition", "attachment; filename=" + String.Format("Guia {0} - {1}{2}", Paqueteria, Guia, File.Extension));
|
||||||
Response.AddHeader("Content-Length", File.Length.ToString());
|
Response.AddHeader("Content-Length", File.Length.ToString());
|
||||||
Response.ContentType = "application/octet-stream";
|
Response.ContentType = "application/octet-stream";
|
||||||
Response.WriteFile(File.FullName);
|
Response.WriteFile(File.FullName);
|
||||||
@@ -1037,7 +1042,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
|
|
||||||
private string getCorreoNotificacion(int CveCliente, int CveVendedor)
|
private string getCorreoNotificacion(int CveCliente, int CveVendedor)
|
||||||
{
|
{
|
||||||
DataRow DatosCliente = get_GlobalDTCliente(UsuarioActual.CveEmpresa).FiltroPrimero(string.Format("CveCliente = {0}",CveCliente));
|
DataRow DatosCliente = get_GlobalDTCliente(UsuarioActual.CveEmpresa).FiltroPrimero(string.Format("CveCliente = {0}", CveCliente));
|
||||||
DataRow DatosVendedor = get_GlobalDTVendedores(UsuarioActual.CveEmpresa).FiltroPrimero(string.Format("CveVendedor = {0}", CveVendedor));
|
DataRow DatosVendedor = get_GlobalDTVendedores(UsuarioActual.CveEmpresa).FiltroPrimero(string.Format("CveVendedor = {0}", CveVendedor));
|
||||||
if (DatosCliente != null && DatosVendedor != null)
|
if (DatosCliente != null && DatosVendedor != null)
|
||||||
{
|
{
|
||||||
@@ -1064,7 +1069,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
protected void BtnReasignar_Click(object sender, EventArgs e)
|
protected void BtnReasignar_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ClsGenerales ObjGeneral = new ClsGenerales();
|
ClsGenerales ObjGeneral = new ClsGenerales();
|
||||||
if (ObjGeneral.AsignarEntregasPorRealizar(CvePaqueteriaGuiaReasignar, -1, CveMotivoRechazoPaqueteria:DdlMotivoRechazoGuia.SelectedValue.ToEntero()))
|
if (ObjGeneral.AsignarEntregasPorRealizar(CvePaqueteriaGuiaReasignar, -1, CveMotivoRechazoPaqueteria: DdlMotivoRechazoGuia.SelectedValue.ToEntero()))
|
||||||
{
|
{
|
||||||
Alert("La guía está lista para volver a ser asignada, disponible en el reporte <a style='color:#23527c' href='/Inventarios/EntregasPorRealizar.aspx'>Entregas Por Realizar</a>");
|
Alert("La guía está lista para volver a ser asignada, disponible en el reporte <a style='color:#23527c' href='/Inventarios/EntregasPorRealizar.aspx'>Entregas Por Realizar</a>");
|
||||||
}
|
}
|
||||||
@@ -1072,7 +1077,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
CargaDatos();
|
CargaDatos();
|
||||||
UPDatos.Update();
|
UPDatos.Update();
|
||||||
CvePaqueteriaGuiaReasignar = -1;
|
CvePaqueteriaGuiaReasignar = -1;
|
||||||
EnviarCorreoNotificacionEntrega(3, Folio, "","","","","",-1,null);
|
EnviarCorreoNotificacionEntrega(3, Folio, "", "", "", "", "", -1, null);
|
||||||
this.RegistraScript("$('#ModalMotivoReasignacion').modal('hide')", "hidemodal3");
|
this.RegistraScript("$('#ModalMotivoReasignacion').modal('hide')", "hidemodal3");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1080,7 +1085,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
{
|
{
|
||||||
ClsVentas ObjVentas = new ClsVentas();
|
ClsVentas ObjVentas = new ClsVentas();
|
||||||
|
|
||||||
if (ObjVentas.GetVenta(CveVenta,UsuarioActual.CveEmpresa))
|
if (ObjVentas.GetVenta(CveVenta, UsuarioActual.CveEmpresa))
|
||||||
{
|
{
|
||||||
DataRow row = ObjVentas.DtResultados.Rows[0];
|
DataRow row = ObjVentas.DtResultados.Rows[0];
|
||||||
string ClienteNombre = row["ClienteNombre"].ToString();
|
string ClienteNombre = row["ClienteNombre"].ToString();
|
||||||
@@ -1122,11 +1127,11 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
strBody.Append(" <br/>");
|
strBody.Append(" <br/>");
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>");
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>");
|
||||||
strBody.Append(" Agradecemos su preferencia. <br/>");
|
strBody.Append(" Agradecemos su preferencia. <br/>");
|
||||||
strBody.Append(" Compuproveedores");
|
//strBody.Append(" Compuproveedores");
|
||||||
strBody.Append(" </p>");
|
strBody.Append(" </p>");
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>");
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>");
|
||||||
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>");
|
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>");
|
||||||
strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>");
|
//strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>");
|
||||||
strBody.Append("");
|
strBody.Append("");
|
||||||
strBody.Append(" </p>");
|
strBody.Append(" </p>");
|
||||||
strBody.Append(" </body>");
|
strBody.Append(" </body>");
|
||||||
|
|||||||
@@ -3256,11 +3256,11 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
strBody.Append(" <br/>")
|
strBody.Append(" <br/>")
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>")
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>")
|
||||||
strBody.Append(" Gracias por su compra <br/>")
|
strBody.Append(" Gracias por su compra <br/>")
|
||||||
strBody.Append(" Compuproveedores")
|
'strBody.Append(" Compuproveedores")
|
||||||
strBody.Append(" </p>")
|
strBody.Append(" </p>")
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>")
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>")
|
||||||
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>")
|
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>")
|
||||||
strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>")
|
'strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>")
|
||||||
strBody.Append("")
|
strBody.Append("")
|
||||||
strBody.Append(" </p>")
|
strBody.Append(" </p>")
|
||||||
strBody.Append(" </body>")
|
strBody.Append(" </body>")
|
||||||
|
|||||||
@@ -178,11 +178,11 @@ public partial class Inventarios_EntregasPorRealizar : ClsPaginas
|
|||||||
strBody.Append(" <br/>");
|
strBody.Append(" <br/>");
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>");
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%'>");
|
||||||
strBody.Append(" Gracias por realizar su pedido <br/>");
|
strBody.Append(" Gracias por realizar su pedido <br/>");
|
||||||
strBody.Append(" Compuproveedores");
|
//strBody.Append(" Compuproveedores");
|
||||||
strBody.Append(" </p>");
|
strBody.Append(" </p>");
|
||||||
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>");
|
strBody.Append(" <p style='font-family:Segoe UI Semibold;font-size:12pt;width:100%;text-align:center'>");
|
||||||
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>");
|
strBody.Append(" Sigue disfrutando de nuestros productos y servicios<br/>");
|
||||||
strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>");
|
//strBody.Append(" <a href='https://www.compuproveedoresti.com/'>www.compuproveedores.com</a>");
|
||||||
strBody.Append("");
|
strBody.Append("");
|
||||||
strBody.Append(" </p>");
|
strBody.Append(" </p>");
|
||||||
strBody.Append(" </body>");
|
strBody.Append(" </body>");
|
||||||
|
|||||||
Reference in New Issue
Block a user