• Mahmoud Aglan's avatar
    feat(hr): 2025 Labour Law compliance + employee import + payroll alignment · 23dd0208
    Mahmoud Aglan authored
    Phase 1 - Leave System (2025 Law):
    - Annual leave: 15d (1st year) → 21d (after 1y) → 30d (10y+/age 50+) → 45d (disability)
    - Maternity: 90 → 120 days (4 months), hajj: now PAID with 5y service min
    - New leave types: childcare (unpaid, 3 career, 24mo gap), paternity (1d, 3 career), exam
    - Casual leave: enforce max 2 consecutive days
    - Childcare gap enforcement, service months validation
    
    Phase 2 - Employee Import:
    - Extract 75 employees from HR registry Excel → JSON seed data
    - 34 Bank of Alexandria accounts extracted for salary transfers
    - 14 departments + all job titles auto-created from registry
    - Migration adds variable_salary + total_allowances columns
    
    Phase 4 - Payroll Alignment (July 2026 format):
    - Solidarity fund: 0.25% of gross (صندوق التكافل)
    - Stamp duty: 3% of net (دمغة عادية وإضافية) - now percentage-based
    - Emergency fund + VAT config keys added
    - calculation_json includes full breakdown
    
    Phase 5 - Bank Transfer Export:
    - BankTransferService generates transfer data from payroll runs
    - CSV export with BOM for Arabic compatibility
    - View + route: /hr/payroll/periods/{id}/bank-transfer
    
    Phase 6 - Performance Evaluation:
    - Seed 10-criteria template matching club's official form (100 points)
    - Dual evaluator support (direct manager + general supervisor)
    - 5-tier rating labels (ضعيف → ممتاز)
    
    Phase 7 - Reports & Forms:
    - Work receipt printable form (إقرار استلام العمل)
    - Workforce statement report (بيان القوة الفعلية)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    23dd0208
Name
Last commit
Last update
..
Controllers Loading commit data...
Models Loading commit data...
Services Loading commit data...
Views Loading commit data...
Routes.php Loading commit data...
bootstrap.php Loading commit data...