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. Listing Mover Manage \listing-mover-manage
/companies/getQuery
POST
Filter: isDeleted=0 (Active companies)
/vehicleBrands/getQuery
POST
Purpose: Populate brandDataSource
/movers/getQuery
POST
Filter: plateNo, vehicleBrandId, companyId, isDeleted=0
/carriers/getQuery
POST
Filter: moverId, isDeleted=0 (Dependency Check)
/movers/update
POST
Purpose: Delete (isDeleted=true)
2. Add Mover Manage \add-mover-manage
/companies/getQuery
POST
Filter: isDeleted=0 (Active companies)
/vehicleBrands/getQuery
POST
Filter: isActive=1 (Active brands)
/settings/getQuery
POST
Filter: type='SPAD Permit Owner'
/settings/getQuery
POST
Filter: type='Gear Box Type'
/movers/getQuery
POST
Filter: id (Fetch specific record)
/movers/getQuery
POST
Filter: plateNo (Uniqueness Check)
/movers/create
POST
Purpose: Create new dataSource record
/movers/update
POST
Purpose: Update existing dataSource record