Commit 3fe065b2 authored by Fares's avatar Fares

fix(dependents): allow adding dependents to all membership types

Sports, seasonal, and honorary members were blocked from adding
spouses, children, and temporary members because allows_dependents
was set to false. All membership types now allow dependents.
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent de24ec03
......@@ -75,9 +75,9 @@ final class MembershipRulesService
{
return [
'working' => ['name_ar' => 'عضو عامل', 'min_age' => 21, 'allows_dependents' => true, 'requires_qualification' => true],
'seasonal' => ['name_ar' => 'عضو موسمي', 'min_age' => 0, 'allows_dependents' => false, 'requires_qualification' => false],
'sports' => ['name_ar' => 'عضو رياضي', 'min_age' => 0, 'allows_dependents' => false, 'requires_qualification' => false],
'honorary' => ['name_ar' => 'عضو شرفي', 'min_age' => 0, 'allows_dependents' => false, 'requires_qualification' => false],
'seasonal' => ['name_ar' => 'عضو موسمي', 'min_age' => 0, 'allows_dependents' => true, 'requires_qualification' => false],
'sports' => ['name_ar' => 'عضو رياضي', 'min_age' => 0, 'allows_dependents' => true, 'requires_qualification' => false],
'honorary' => ['name_ar' => 'عضو شرفي', 'min_age' => 0, 'allows_dependents' => true, 'requires_qualification' => false],
'foreign' => ['name_ar' => 'عضو أجنبي', 'min_age' => 21, 'allows_dependents' => true, 'requires_qualification' => false],
];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment