Leads
Last updated
Last updated
As the initial step within the Build Solution framework, all incoming leads received by the company will be logged within this module by a designated user. The Leads module encompasses multiple forms and procedural steps that necessitate completion prior to advancing to subsequent tasks such as jobs and other related activities.
Access to the leads module is granted to users assigned any combination of the following roles: Admin, Staff, Salespersons, Sales Manager, Sales Consultant, Super Admin, Accountant, Estimator, System Admin, and System Developer.
From the below interface, the user possesses the capability to conduct searches and apply filters to previously established leads.
The user can execute searches based on parameters such as first name, last name, email, mobile number, and address.
Additionally, the user is equipped to employ radio buttons for filtering leads. The user has the option to select between viewing All Leads or applying filters to the grid, allowing for the categorization of leads into 'Closed Leads', 'Mistake Leads', 'Duplicate Leads', or 'Sales Customers'.
In addition to the primary search field, the user is endowed with the privilege of employing filters to refine leads based on a selection of supplementary fields. These fields encompass Project Type, Assigned Salesperson, Lead Status, Lead Source, Conversion Status, and Dates. The user can readily access and activate these filtering mechanisms by toggling the designated filter control.
Values of the above dropdown fields are taken from different tables.
Project Type
project_types
-
Salesperson Assigned
Users
where status =1 , listed_in_sales=1, is_developer!=1
Lead Status
lead_status_types
-
Lead Source
lead_source_types
-
Conversion Status
-
hardcoded the values
Date from
-
date picker
Date to
-
date picker
The Leads grid is equipped with multiple columns that allow users to obtain a summarized view of individual leads without requiring navigation to their respective profiles. Each lead is associated with a job address, but this field remains empty until the lead is converted into a job.
When a user accesses a lead's profile, an automatic mechanism triggers, updating the "last viewed" timestamp for that lead and displaying this timestamp within the grid.
Furthermore, if a user modifies the details of a lead, a similar automated process updates the "last updated" timestamp for that lead, ensuring the most recent modification time is accurately reflected.
Values of some columns in the leads grid are populated as below,
Profile: If First Name, Lead Status, and Lead Source are filled when updating the lead, then the profile is marked as completed.
Job Address: Get data from the leads table ‘address’ column.
Status:
Confidence: As the user iterates through and satisfies each element of the checklist array, the progress attribute of the confidence bar object incrementally populates, reflecting real-time completion status.
Age:
Conversion: Get data from the leads table ‘conversion_status’ column.