Ventas Medicas Pago directo inicial
This commit is contained in:
@@ -292,6 +292,9 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
CargarTiposEventos();
|
||||
LimitaFechasAcercamiento();
|
||||
CargaDatos();
|
||||
CargaAgentes();
|
||||
CargaProcedimientos();
|
||||
CargaTiposVenta();
|
||||
|
||||
//if( Request["CveEmpresaCRM"] != null)
|
||||
//{
|
||||
@@ -307,9 +310,34 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
DdlPS.setEsWebService(true);
|
||||
DdlPS.SelectedText = "Seleccione";
|
||||
DdlPS.SelectedValue = "-1";
|
||||
|
||||
|
||||
if(UsuarioActual.Empresa.Funcionalidad(590).ToString().ToEntero() == 1)
|
||||
{
|
||||
DVAgenteProcedimiento.Visible = true;
|
||||
DVTipoVenta.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void CargaTiposVenta()
|
||||
{
|
||||
DdlTipoVenta.DataSource = get_GlobalDTTipoVenta(UsuarioActual.CveEmpresa).FiltraParametros(" Estatus = 'true' ");
|
||||
DdlTipoVenta.DataBind();
|
||||
}
|
||||
|
||||
private void CargaProcedimientos()
|
||||
{
|
||||
DdlProcedimiento.DataSource = get_GlobalDTProcedimientos(UsuarioActual.CveEmpresa).FiltraParametros(" Estatus = 'true' ");
|
||||
DdlProcedimiento.DataBind();
|
||||
}
|
||||
|
||||
private void CargaAgentes()
|
||||
{
|
||||
DdlMedico.DataSource = get_GlobalDTMedicos(UsuarioActual.CveEmpresa).FiltraParametros(" Estatus = 'true' ");
|
||||
DdlMedico.DataBind();
|
||||
}
|
||||
|
||||
#region "GUARDAR EMPRESA"
|
||||
|
||||
protected void BtnGuardarEmpresa_Click(object sender, EventArgs e)
|
||||
@@ -1714,6 +1742,10 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
DdlMedioCaptacionAcercamiento.SelectedValueExist("-1");
|
||||
DdlProbabilidadAcercamiento.SelectedValueExist("-1");
|
||||
DdlPrioridadAcercamiento.SelectedValueExist("1");
|
||||
|
||||
DdlMedico.SelectedValueExist("-1");
|
||||
DdlProcedimiento.SelectedValueExist("-1");
|
||||
DdlTipoVenta.SelectedValueExist("-1");
|
||||
}
|
||||
|
||||
|
||||
@@ -1808,7 +1840,10 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
Prioridad = Prioridad,
|
||||
CveEmpresa = UsuarioActual.CveEmpresa,
|
||||
CveUsuarioIng = CveUsuarioIng,
|
||||
CvePS = DdlPS.SelectedValue.ToEntero()
|
||||
CvePS = DdlPS.SelectedValue.ToEntero(),
|
||||
CveMedico = DdlMedico.SelectedValue.ToEntero(),
|
||||
CveProcedimiento = DdlProcedimiento.SelectedValue.ToEntero(),
|
||||
CveTipoVenta = DdlTipoVenta.SelectedValue.ToEntero()
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user