MOVER SCHEDULE
🗓️ Technical Specification: Mover Schedule
📋 Feature Overview
🛠️ 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_BLOCK_DAY.MENU |
Sidebar menu visibility.
|
| Page Routing | MOVER_BLOCK_DAY.LISTING |
Access to listing route.\listing-mover-inspection-schedule |
| Page Routing | MOVER_BLOCK_DAY.VIEW |
Access to add/edit route.
|
| Create Action | MOVER_BLOCK_DAY.UPDATE |
Controls the + Add button on listing.\listing-mover-inspection-schedule |
| View Access | MOVER_BLOCK_DAY.VIEW |
Controls visibility of Edit icon.\listing-mover-inspection-schedule |
| Delete Action | MOVER_BLOCK_DAY.DELETE |
Visibility of the Delete 🗑️ icon.\listing-mover-inspection-schedule |
| Print Action | MOVER_BLOCK_DAY.REPORT.LISTING.VIEW |
Visibility of the Print 🖨️ icon.\listing-mover-inspection-schedule |
| Edit/Save Action | MOVER_BLOCK_DAY.UPDATE |
Ability 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
POSTFilter:
type='Block Type'/settings/getQuery
POSTFilter:
type='Status'/moverBlockDays/getQuery
POSTFilter:
mover.plateNo, blockType, status, blockEndDate (Date Range)/moverBlockDay/delete
POSTPurpose: Delete Record
/mover-schedule-report/moverScheduleReport
NONEPurpose: Generate PDF Report
2. Add/Edit Mover Schedule
\add-edit-mover-inspection-schedule/movers/getQuery
POSTFilter:
isDeleted=0 (Active Movers)/settings/getQuery
POSTFilter:
type='Block Type'/settings/getQuery
POSTFilter:
type='Status'/moverBlockDays/getQuery
POSTFilter:
id (Fetch specific record)/moverBlockDay/create
POSTPurpose: Create new record
/moverBlockDay/update
POSTPurpose: Update existing record