Project

General

Profile

Edit Copy Actions

Feature #8383

open

Enhancement: Distance Calculation and Address Validation in Enquiry APIs

Added by Anonymous 15 days ago. Updated 14 days ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
03/25/2026
Due date:
03/25/2026 (14 days late)
% Done:

100%

Estimated time:
5:30 h
Spent time:

Description

In the enquiry creation flow, the distance is now calculated and stored in the database during creation.

Additionally:

Address fields are made mandatory in the Enquiry Creation API
The calculated distance and address details are returned in the Get API

This ensures accurate data storage and consistent display of distance and address information.

Please review and let me know if any changes are required.


Add

Subtasks


Add

Related issues

Actions #1

Updated by Anonymous 15 days ago

  • Assignee set to Pavan Kumar Murala
Actions #2

Updated by Pavan Kumar Murala 14 days ago

  • Status changed from New to In Progress

Updated by Pavan Kumar Murala 14 days ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 5:30 h

Distance Integration
Migrated to Google Routes API (v2) for accurate distance calculation
Automatically calculates driving distance from company to enquiry address
Displays distance (in miles) in enquiry list
Added timeout and error handling for API stability
Company & Address Improvements
Stored latitude and longitude in Company details
Address component updated to capture coordinates using Google Places
Ensures accurate mapping and distance calculation

Performance Optimization
Optimized Service API with lightweight fetching mode
Reduced loading time from ~10 seconds to under 500ms
Improvements list page
Created compact filter bar (single row layout)
Added color-coded Source column (Manual, Excel, Website)
Replaced full-screen loader with smooth progress bar
Improved table readability and user experience
Edit Copy Actions

Also available in: Atom PDF