Cambiar Combo de clientes por dropdownlost
This commit is contained in:
@@ -65,11 +65,16 @@ public partial class Ventas_RepAnticipo_NC_IXC : ClsPaginas
|
||||
DdlSucursal.Items.Insert(0, new ListItem("Todos", "-1"));
|
||||
}
|
||||
|
||||
//protected void CargaClientes()
|
||||
//{
|
||||
// DdlCliente.DataSource = get_GlobalDTCliente(UsuarioActual.CveEmpresa,-1);
|
||||
// DdlCliente.DataBind();
|
||||
// DdlCliente.Items.Insert(0, new ListItem("Todos", "-1"));
|
||||
//}
|
||||
protected void CargaClientes()
|
||||
{
|
||||
DdlCliente.DataSource = get_GlobalDTCliente(UsuarioActual.CveEmpresa,-1);
|
||||
DdlCliente.DataBind();
|
||||
DdlCliente.Items.Insert(0, new ListItem("Todos", "-1"));
|
||||
DdlCliente.setEsWebService(true);
|
||||
DdlCliente.Attributes.Add("data-metodo", "getcliente");
|
||||
}
|
||||
protected void CargaVendedores()
|
||||
{
|
||||
@@ -127,7 +132,7 @@ public partial class Ventas_RepAnticipo_NC_IXC : ClsPaginas
|
||||
String Sucursal;
|
||||
if (DdlSucursal.SelectedValue != "-1") { Sucursal = $" <b>Sucursal:</b> {DdlSucursal.SelectedItem.Text}"; } else { Sucursal = ""; }
|
||||
String Cliente;
|
||||
if (DdlCliente.SelectedValue != "-1") { Cliente = $" <b>Cliente:</b> {DdlCliente.SelectedItem.Text}"; } else { Cliente = ""; }
|
||||
if (DdlCliente.SelectedValue != "-1") { Cliente = $" <b>Cliente:</b> {DdlCliente.SelectedText}"; } else { Cliente = ""; }
|
||||
if (DtDatos.Rows.Count > 0)
|
||||
{
|
||||
System.IO.FileInfo Imagen = new System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta));
|
||||
|
||||
Reference in New Issue
Block a user