• Mahmoud Aglan's avatar
    Fix children age display: compute dynamically from DOB, auto-separate at 25 · 110d7771
    Mahmoud Aglan authored
    - MemberController: SELECT TIMESTAMPDIFF for age_years/age_months in children query
    - children-table.php: compute age from DOB in view (fallback for static column)
    - show.php (member): same dynamic age + add 'separated' status translation
    - show.php (child): compute age from DOB dynamically, fix 25+ threshold check
    - AgeMonitorJob: add daily age recalculation for all children, change auto-freeze
      to auto-separate (status='separated', classification='separated')
    - AutoFreezeService: update processAutoFreeze() to separate instead of just freeze
    - DB fixes: corrected DOBs from NIDs, updated all ages, separated 3 children >= 25
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    110d7771
AgeMonitorJob.php 4.16 KB