EZ Leave Docs Center

EZ Leave Management System - Features Overview

System Architecture

The EZ Leave Management System is a comprehensive, multi-tenant leave management solution built with Laravel 12, Livewire, and Filament. It provides three distinct access levels with specialized functionality for each user type.


Three-Tier Access System

1. Employee Portal (Livewire Frontend)

Access URL: /employee/login

Key Features:

  • Self-service leave application
  • Real-time balance viewing
  • Leave history tracking
  • Notification management
  • Profile and settings management
  • Document upload for leave requests
  • Sound notification preferences

2. Employer Panel (Filament Admin)

Access URL: /employer/login

Key Features:

  • Employee management
  • Leave type configuration
  • Leave request approval/rejection
  • Organizational unit management
  • Role and permission management
  • Comprehensive reporting
  • Dashboard quotes management
  • Leave calendar visualization

3. Cockpit Panel (Super Admin)

Access URL: /cockpit/login

Key Features:

  • Multi-employer management
  • System-wide oversight
  • Global user management
  • Cross-tenant reporting
  • System configuration
  • Activity monitoring

Core Features

Leave Balance Management

Automatic Accrual

  • Monthly, quarterly, or annual accrual
  • Pro-rated calculations for new employees
  • Minimum service year requirements
  • Flexible accrual rules

Carry Forward

  • Configurable maximum carry forward days
  • Automatic year-end processing
  • Carry forward balance tracking
  • Expiry management

Balance Adjustments

  • Manual credit/debit adjustments
  • Adjustment history tracking
  • Reason documentation
  • Audit trail

Pending Days Tracking

  • Real-time pending balance calculation
  • Automatic updates on request status changes
  • Accurate available balance display

Smart Action Plans

The system features an intelligent action plan mechanism that automatically determines how leave requests will be processed:

Green Status (Sufficient Balance)

  • Employee has enough balance in the requested leave type
  • Request proceeds normally
  • No adjustments needed

Yellow Status (Adjustment Required)

  • Insufficient balance in requested leave type
  • System proposes using Annual Leave balance
  • Shows breakdown of days from each type
  • Transparent adjustment preview

Red Status (LWP Warning)

  • All earned leave balances exhausted
  • Remaining days marked as Leave Without Pay (LWP)
  • Salary deduction warning
  • Encourages reconsideration

Leave Request Workflow

Application Process

  1. Employee selects leave type and dates
  2. System calculates total days
  3. Action plan generated automatically
  4. Employee reviews and confirms
  5. Request submitted to supervisor

Approval Hierarchy

  • Supervisor approval (first level)
  • Final approval (if required)
  • Automatic notifications at each stage
  • Email and in-app notifications

Request Management

  • Edit pending requests
  • Cancel pending requests
  • View request timeline
  • Track approval status
  • Add supporting documents

Document Management

Document Upload

  • Attach documents to leave requests
  • Support for multiple file types
  • Medical certificates for sick leave
  • Other supporting documentation
  • Secure file storage

Document Viewing

  • View uploaded documents
  • Download capabilities
  • Document history tracking

Organizational Structure

Hierarchical Org Units

  • Nested organizational structure
  • Tree view visualization
  • Drag-and-drop reorganization
  • Manager assignment
  • Employee assignment to units

Benefits

  • Departmental reporting
  • Hierarchical approval workflows
  • Organizational analytics
  • Resource planning

Role-Based Access Control

Granular Permissions

  • Resource-level permissions (View, Create, Update, Delete)
  • Page access control
  • Feature-level restrictions
  • Multi-tenant isolation

Pre-defined Roles

  • Super Admin (Cockpit)
  • Employer Admin
  • HR Manager
  • Department Manager
  • Employee

Custom Roles

  • Create custom roles
  • Assign specific permissions
  • Role inheritance
  • Team-based permissions

Reporting and Analytics

Leave Balance Reports

  • Current balance by employee
  • Balance by department
  • Balance by leave type
  • Export to Excel/PDF

Leave Balance Summary

  • Aggregated statistics
  • Utilization rates
  • Trend analysis
  • Visual charts

Leave Request Reports

  • Request history
  • Approval/rejection rates
  • Processing time analysis
  • Status breakdown

Custom Reports

  • Filter by multiple criteria
  • Date range selection
  • Export capabilities
  • Scheduled reports

Notification System

Email Notifications

  • Leave request submitted
  • Request approved/rejected
  • Pending approval reminders
  • Balance updates
  • System announcements

In-App Notifications

  • Real-time notification center
  • Unread count badge
  • Mark as read functionality
  • Notification history

Sound Notifications

  • Customizable notification sounds
  • Volume control
  • Enable/disable per user
  • Different sounds for different events

Dashboard Features

Employee Dashboard

  • Leave balance cards
  • Quick apply button
  • Upcoming approved leaves
  • Recent leave history
  • Motivational quotes

Employer Dashboard

  • Key metrics widgets
  • Leave status chart
  • Recent activity feed
  • Quick actions
  • Leave calendar

Cockpit Dashboard

  • System-wide statistics
  • Employer overview
  • Active users count
  • Pending requests across all employers

Leave Calendar

Visual Calendar

  • Month/week/day views
  • Color-coded leave types
  • Employee leave visualization
  • Team availability view
  • Export calendar

Features

  • Filter by employee
  • Filter by leave type
  • Filter by department
  • Conflict detection
  • Resource planning

Dashboard Quotes Management

Motivational Quotes

  • Add inspirational quotes
  • Author attribution
  • Active/inactive status
  • Display order management
  • Random rotation

Benefits

  • Boost employee morale
  • Positive workplace culture
  • Customizable messaging
  • Company values alignment

Security Features

Authentication

  • Secure login system
  • Password encryption
  • Session management
  • Remember me functionality

Two-Factor Authentication

  • Optional 2FA setup
  • QR code generation
  • Recovery codes
  • Authenticator app support

Password Management

  • Strong password requirements
  • Password change functionality
  • Password reset via email
  • Password history

Data Protection

  • Multi-tenant data isolation
  • Role-based access control
  • Audit logging
  • Secure file storage

Activity Logging

Comprehensive Audit Trail

  • User actions tracking
  • Data modifications
  • Login/logout events
  • Permission changes
  • System events

Log Details

  • Who performed the action
  • What was changed
  • When it occurred
  • IP address tracking
  • User agent information

Advanced Features

Flexible Leave Rules

  • Custom leave calculation logic
  • Business-specific rules
  • Holiday calendar integration
  • Weekend handling
  • Pro-rata calculations

Leave Type Flexibility

  • Unlimited leave types
  • Custom accrual rules
  • Gender-specific leave types
  • Service-based eligibility
  • Negative balance allowance

Carry Forward Balance Spending

  • Option to spend carry forward balance first
  • Configurable per leave type
  • Automatic calculation
  • Balance tracking

Half-Day Leave

  • 0.5 day deduction
  • Morning/afternoon specification
  • Flexible scheduling
  • Accurate balance calculation

Technical Specifications

Technology Stack

  • Framework: Laravel 12
  • Frontend: Livewire 3, Flux UI
  • Admin Panel: Filament 4
  • Database: MySQL/PostgreSQL
  • Authentication: Laravel Fortify
  • Permissions: Spatie Laravel Permission
  • Markdown: League CommonMark

System Requirements

  • PHP 8.2 or higher
  • MySQL 8.0+ or PostgreSQL 13+
  • Composer 2.x
  • Node.js 18+ and NPM

Key Packages

  • filament/filament: Admin panel framework
  • livewire/livewire: Frontend reactivity
  • livewire/flux: UI components
  • bezhansalleh/filament-shield: Permission management
  • spatie/laravel-activitylog: Activity logging
  • wsmallnews/filament-nestedset: Nested org units
  • league/commonmark: Markdown rendering

Integration Capabilities

Email Integration

  • SMTP configuration
  • Email queue management
  • Template customization
  • Notification preferences

File Storage

  • Local storage
  • Cloud storage support (S3, etc.)
  • Secure file access
  • File type validation

API Potential

  • RESTful API structure
  • Authentication tokens
  • Rate limiting
  • Webhook support

Performance Features

Optimization

  • Database query optimization
  • Eager loading relationships
  • Caching strategies
  • Asset optimization

Scalability

  • Multi-tenant architecture
  • Horizontal scaling support
  • Load balancing ready
  • Database indexing

User Experience

Responsive Design

  • Mobile-friendly interface
  • Tablet optimization
  • Desktop full features
  • Touch-friendly controls

Accessibility

  • WCAG compliance considerations
  • Keyboard navigation
  • Screen reader support
  • High contrast mode

Internationalization

  • Multi-language support potential
  • Date format localization
  • Currency localization
  • Timezone handling

Support and Maintenance

Documentation

  • Comprehensive user guides
  • Admin documentation
  • API documentation
  • Troubleshooting guides

Updates

  • Regular feature updates
  • Security patches
  • Bug fixes
  • Performance improvements

Future Enhancements

Planned Features

  • Mobile applications (iOS/Android)
  • Advanced analytics dashboard
  • AI-powered leave predictions
  • Integration with HR systems
  • Payroll system integration
  • Calendar sync (Google, Outlook)
  • Slack/Teams notifications
  • Advanced reporting builder

Last Updated: December 2024 Version: 1.0.0

Last Updated: Oct 20, 2026