1. 16 Jul, 2026 4 commits
    • Mahmoud Aglan's avatar
      Unify receipt/invoice settings: 3-tab template system + fix seeder · 2be39175
      Mahmoud Aglan authored
      - EnrollmentSettingsSeeder: fix Organization → Academy class name
      - ReceiptTemplate: add defaultInvoiceFields/Settings + defaultPaymentFields/Settings
      - ReceiptSettings: rewritten with pos/invoice/payment tabs; each tab loads
        its own ReceiptTemplate (type='invoice'|'payment') and saves independently
      - receipt-settings.blade.php: 3-tab UI with field toggles + appearance settings
        per document type; link to branding page for logo/colors
      - print/invoice.blade.php: all 15 fields now gated by invoice template flags
        (logo, academy name, branch, tax number, client details, items table,
        subtotal, discount, tax, service fee, paid amount, payments history,
        signature, terms & conditions, footer text)
      - print/payment-receipt.blade.php: all 11 fields gated by payment template;
        footer text pulled from template settings instead of hardcoded string
      Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
      2be39175
    • Mahmoud Aglan's avatar
      Fix log permission: touch and chown laravel.log in entrypoint · 20284ee2
      Mahmoud Aglan authored
      CapRover volume remounts can override build-time chown, leaving
      storage/logs owned by root. Explicitly touch + chown the log file
      at container start before php-fpm runs.
      Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
      20284ee2
    • Mahmoud Aglan's avatar
    • Mahmoud Aglan's avatar
      Add phone-or-email login, Egyptian NID decoder, proration engine, and receptionist wizard overhaul · 0504e7d1
      Mahmoud Aglan authored
      - AuthService: accepts email or phone for login (identifier-based lookup)
      - Login UI: updated to text input with Arabic labels
      - EgyptianNidDecoder: decodes 14-digit NID → birth date, gender, governorate
      - ProrationResult DTO + ProrationService: mid-month enrollment fee proration (x/30 of remaining days based on configurable renewal day)
      - EnrollmentSettingsSeeder: seeds enrollment.allow_proration and enrollment.renewal_day per academy
      - NewRegistrationWizard: rewritten — player-first flow, NID auto-decode locks birth/gender/governorate, foreign player toggle, guardian name deduced from player name, phone-only guardian, super admin price override, proration display
      - EnrollmentService: applies proration to invoice creation
      - EnrollExistingWizard: adds proratedProgramFee computed property, review step shows original vs prorated fee
      - Migration: adds governorate column to people table
      Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
      0504e7d1
  2. 11 Jul, 2026 6 commits
  3. 10 Jul, 2026 10 commits
  4. 09 Jul, 2026 13 commits
  5. 07 Jul, 2026 3 commits
  6. 06 Jul, 2026 1 commit
  7. 05 Jul, 2026 3 commits