Skip to main content

MOVER

🚛 Technical Specification: Mover Setup

📋 Feature Overview

Attribute Detail
Module 📂 Directory (MOVER)
Feature Name Mover Management (Prime Movers)
Description Manages fleet of prime movers (truck heads). Tracks vehicle ID, specs, and compliance expiry dates (Road Tax, Permits).
Page & Detail
1. Listing Page: /listing-mover-manage Displays grid of movers, filters, and delete actions.
2. Add/Edit Page: /add-mover-manage Form for creating new movers or updating details/expiry dates.
User Guide 📄 [Ekajaya Admin User Guide - Directory Module, Section 3]

🛠️ Technical Implementation

A. Permissions & Access Control

Note: Access is controlled via PermissionGuard and component-level checks.
Scope Permission Code Description & Page Usage
Menu Visibility MOVER.MENU

Sidebar menu visibility.

\listing-mover-manage

\add-mover-manage

Page Routing

MOVER.LISTING

Access to listing route.

\listing-mover-manage

Page Routing

MOVER.VIEW

Access to add route.

\add-mover-manage

Create Action MOVER.UPDATE

Controls the + Add button visibility.

\listing-mover-manage

View Access MOVER.VIEW

Controls visibility of Edit icon.

\listing-mover-manage

Delete Action MOVER.DELETE

Visibility of the Delete 🗑️ icon.

\listing-mover-manage

Edit/Save Action MOVER.UPDATE

Ability to save changes on Add/Edit screen.

\add-mover-manage


B. API Interaction

Base URL: ${environment.baseApiUrl}
1. Retrieve Mover List \listing-mover-manage
/movers/getQuery
POST
2. Delete Mover (Soft Delete) \listing-mover-manage
/movers/update
POST
3. Dependency Check (Pre-Delete) \listing-mover-manage
/carriers/getQuery
POST
4. Get Single Mover (Edit Mode) \add-mover-manage
/movers/getQuery
POST
5. Create/Update Mover \add-mover-manage
/movers/create
POST
/movers/update
POST
6. Helper APIs (Dropdowns)
\listing-mover-manage \add-mover-manage
Companies
/companies/getQuery
POST
Vehicle Brands
/vehicleBrands/getQuery
POST
Permit Owners
/settings/getQuery 
POST
Gear Box Types
/settings/getQuery 
POST