File map
Source files for B2B Collection logistics UI in livehealth-frontend
👤 Utsav Katiyar📅 Updated: Apr 7, 2026🏷️ feature
File map
Scope: Registration → B2B Collection only (B2bCollection/). Other modules may contain unrelated b2b strings (e.g. CRM, billing); they are not part of this feature doc.
Registration — B2B Collection
Root: src/components/Registration/Components/B2bCollection/
B2bCollection/
├── RouteManagement/
│ ├── index.tsx
│ ├── Components/
│ │ ├── RoutesGrid.tsx
│ │ ├── AddEditRouteModal.tsx
│ │ ├── DeleteRouteConfirmation.tsx
│ │ └── ActionCellRenderer.tsx
│ └── utils/
│ ├── services.ts
│ └── helpers.ts
├── TripManagement/
│ ├── index.tsx
│ ├── Components/
│ │ ├── TripListGrid.tsx
│ │ ├── TripListTabs.tsx
│ │ ├── AddEditTripModal.tsx
│ │ ├── StopWiseGrid.tsx
│ │ ├── CancelTripModal.tsx
│ │ ├── TripMapModal.tsx
│ │ ├── ActionCellRenderer.tsx
│ │ └── TripDetails/...
│ └── utils/
│ ├── services.ts
│ └── helpers.ts
├── Reusables/
│ ├── Header.tsx
│ ├── EmptyScreen.tsx
│ ├── AddEditStopModal.tsx
│ ├── InteractiveGoogleMap.tsx
│ ├── GoogleRouteMap.tsx
│ ├── GooglePointToPointMap.tsx
│ ├── SelectStop.tsx
│ ├── StopInfoWindow.tsx
│ └── useGoogleDirectionsRoute.ts
└── utils/
├── constants.ts
├── interface.ts
├── services.ts
└── helpers.tsRoutes & menu
| File | Content |
|---|---|
src/modules/CrelioDashboard/RoutesAndMenus/registrationRoutesAndMenu.ts | /registration/b2b-collection/*, subMenuOfB2bCollection |
Feature gate
| File | Content |
|---|---|
src/utils/helpers.ts | isB2bCollectionEnabled() — session.b2b_collection |
Types
Shared session/entity types may include B2B-related fields in src/utils/commonInterface.ts; use those definitions when extending this UI only if the field applies to organization logistics.