Fix SportsActivity column mismatches + add membership tutorials
Column fixes across 13 controllers/models/views:
- sa_coaches: name_ar → full_name_ar, status → is_active
- sa_players: serial_number → registration_serial, code → registration_serial
- sa_facility_units: removed non-existent is_archived references
- sa_player_documents: title → file_name, original_name → file_name, uploaded_by → created_by
- sa_blackout_dates: wrong table name sa_facility_blackouts → sa_blackout_dates
- sa_disciplines: wrong table name disciplines → sa_disciplines
- sa_attendance: added missing attendance_date, removed non-existent recorded_at
- sa_player_documents: document_type medical → medical_cert, status → approval_status
- card_status: not_issued → inactive, expired → revoked
- player_type: removed invalid academy_player
- academy_type: removed invalid partnership
- gender_restriction: store NULL instead of 'mixed'
- Added missing [] params to $db->select() calls
Membership tutorials: 25 tutorial files covering all membership operations.
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment