Skip to main content

MOVER SCHEDULE

🗓️ Technical Specification: Mover Schedule


📋 Feature Overview

AttributeDetail
Module📂 Fleet (MOVER SCHEDULE)
Feature NameMover Schedule (Inspection/Block Days)
DescriptionManages mover unavailability, inspections, or maintenance blocks. Used to determine asset availability in the Carrier Calendar.
Page & Detail
1. Listing Page: /listing-mover-inspection-schedule
Displays grid of block records, filters by date/status, delete actions, and report printing.
2. Add/Edit Page: /add-edit-mover-inspection-schedule
Form for creating or updating a mover block period.
User Guide📄 [Ekajaya Admin User Guide - Fleet Module, Section 4]

🛠️ Technical Implementation

A. Permissions & Access Control

Note: Access is controlled via PermissionGuard and component-level checks.
ScopePermission CodeDescription & Page Usage
Menu VisibilityMOVER_BLOCK_DAY.MENU

Sidebar menu visibility.

\listing-mover-inspection-schedule

\add-edit-mover-inspection-schedule

Page RoutingMOVER_BLOCK_DAY.LISTINGAccess to listing route.
\listing-mover-inspection-schedule
Page RoutingMOVER_BLOCK_DAY.VIEW

Access to add/edit route.

\add-edit-mover-inspection-schedule

Create ActionMOVER_BLOCK_DAY.UPDATEControls the + Add button on listing.
\listing-mover-inspection-schedule
View AccessMOVER_BLOCK_DAY.VIEWControls visibility of Edit icon.
\listing-mover-inspection-schedule
Delete ActionMOVER_BLOCK_DAY.DELETEVisibility of the Delete 🗑️ icon.
\listing-mover-inspection-schedule
Print ActionMOVER_BLOCK_DAY.REPORT.LISTING.VIEWVisibility of the Print 🖨️ icon.
\listing-mover-inspection-schedule
Edit/Save ActionMOVER_BLOCK_DAY.UPDATEAbility to save changes on Add/Edit screen.
\add-edit-mover-inspection-schedule

B. API Interaction

Base URL: ${environment.baseApiUrl}
1. Listing Mover Schedule \listing-mover-inspection-schedule
/settings/getQuery
POST
Filter: type='Block Type'
/settings/getQuery
POST
Filter: type='Status'
/moverBlockDays/getQuery
POST
Filter: mover.plateNo, blockType, status, blockEndDate (Date Range)
/moverBlockDay/delete
POST
Purpose: Hard Delete Record
/mover-schedule-report/moverScheduleReport
NONE
Purpose: Generate PDF Report
2. Add/Edit Mover Schedule \add-edit-mover-inspection-schedule
/movers/getQuery
POST
Filter: isDeleted=0 (Active Movers)
/settings/getQuery
POST
Filter: type='Block Type'
/settings/getQuery
POST
Filter: type='Status'
/moverBlockDays/getQuery
POST
Filter: id (Fetch specific record)
/moverBlockDay/create
POST
Purpose: Create new record
/moverBlockDay/update
POST
Purpose: Update existing record