# Application modules

The application consists of 27+ feature modules, each handling specific business functionality:

### Core Modules

#### 1. **Home Module** (`/home`)
- Dashboard with key metrics and statistics
- Quick access to frequently used features
- Real-time notifications and alerts

#### 2. **Login Module** (`/login`)
- User authentication
- Credential validation
- Session initialization

#### 3. **Profile Module** (`/profile`)
- User profile information
- Settings and preferences
- Password change functionality

### Waybill Management

#### 4. **Waybill Module** (`/waybill`)
- Create and manage waybills
- Multiple waybill types (PCP, POS, LC)
- Waybill printing and export

**Services:**
- `WaybillService` - Standard waybill operations
- `WaybillPcpService` - PCP waybill handling
- `WaybillPosService` - POS waybill handling
- `WaybillLcService` - LC waybill handling
- `WaybillPrintService` - Waybill printing

### Scanning Operations

#### 5. **Incoming Scan Module** (`/incoming-scan`)
- Receiving scan for incoming packages
- Delivery scan for completed deliveries
- Problem scan for issues

**Services:**
- `ReceivingScanService` - Handle incoming package scans
- `DeliveryScanService` - Handle delivery completion scans

#### 6. **Outgoing Scan Module** (`/outgoing-scan`)
- Packed scan for ready-to-ship packages
- Handover scan for package transfers
- PCP handover scan

**Services:**
- `PackedScanService` - Packed package scanning
- `HandoverScanService` - Package handover operations
- `HandoverPcpScanService` - PCP-specific handovers

### Monitoring & Tracking

#### 7. **Tracking Module** (`/tracking`)
- Real-time package tracking
- Tracking history and status updates
- Map-based visualization (Leaflet integration)

#### 8. **Monitoring Booking Module** (`/monitor-booking`)
- Monitor booking status
- Track booking lifecycle
- Booking analytics

#### 9. **Monitoring Courier Module** (`/monitoring-courier`)
- Courier performance tracking
- Delivery assignments
- Courier location monitoring

**Service:** `MonitoringCourierService`

### Package Returns

#### 10. **Package Return Module** (`/package-return`)
- Initiate package returns
- Return request management
- Return status tracking

**Service:** `ReturnService`

#### 11. **Package Return Handling Module** (`/return-handling`)
- Process return requests
- Return scanning and verification
- Return disposition

### Reports & Analytics

#### 12. **Reports Module** (`/reports`)
Comprehensive reporting system with multiple report types:

**Services:**
- `ReportService` - Main reporting service
- `MonitoringPaketKirimService` - Shipment monitoring reports
- `MonitoringManifestService` - Manifest reports
- `MonitoringPickupService` - Pickup reports
- `HistoryScanService` - Scan history reports
- `TotalPickupReportService` - Pickup totals
- `TotalDeliveryReportService` - Delivery totals
- `MonitoringSlaService` - SLA monitoring
- `MonitoringDestinationService` - Destination reports
- `FinanceService` - Financial reports

#### 13. **Reports DC Module** (`/reports-dc`)
- Distribution Center specific reports
- DC performance metrics
- Inventory reports

### Financial Management

#### 14. **Finance Management Module** (`/finance-management`)
- Financial transactions
- Payment tracking
- Invoice management

**Service:** `FinanceManagementService`

#### 15. **Tariff Module** (`/tariff`)
- Pricing configuration
- Tariff calculation
- Rate management

#### 16. **Saldo Module** (`/saldo`)
- Account balance tracking
- Transaction history
- Balance top-up

### Partner & User Management

#### 17. **Mitra Courier Module** (`/mitra-courier`)
- Courier partner management
- Partner registration and verification
- Performance tracking

#### 18. **User Management Module** (`/customer-manage`)
- User administration
- Role and permission management
- User activity tracking

#### 19. **Account Management Module** (`/account-management`)
- Account operations
- Account settings
- Access control

**Service:** `AccountManagementService`

### Logistics Operations

#### 20. **Trucking Module** (`/trucking`)
- Trucking fleet management
- Shipment assignments
- Route optimization

**Services:**
- `TruckingService` - Trucking operations
- `TruckingShipmentService` - Shipment management

#### 21. **Manifest Module** (`/manifest`)
- Manifest creation and management
- Package grouping
- Manifest tracking

#### 22. **Manual Handling Module** (`/manual-handling`)
- Manual package processing
- Exception handling
- Manual data entry

**Service:** `ManualHandlingService`

#### 23. **POD Approval Module** (`/pod-management`)
- Proof of Delivery approval workflow
- POD verification
- Dispute resolution

**Service:** `PodApprovalService`

### Integration & Communication

#### 24. **Marketplace Module** (`/marketplace`)
- Marketplace integration
- Order synchronization
- Marketplace-specific operations

**Service:** `MarketplaceService`

#### 25. **Indopaket Module** (`/indopaket`)
- Indopaket integration
- Regional package handling
- Indopaket-specific workflows

**Service:** `IndopaketService`

#### 26. **Notification Module** (`/notification`)
- In-app notifications
- Notification preferences
- Alert management

**Service:** `NotificationService`

### Utility Modules

#### 27. **Models Module** (`/models`)
- Data model definitions
- Type interfaces
- Enums and constants