Commit 08f1efaf authored by Mahmoud Aglan's avatar Mahmoud Aglan

Sync Admin SystemSettings schema with actual DB keys

The hardcoded schema used different key names (tax_rate, default_locale,
grace_period_participants, etc.) than what the seeder + DB actually stores.
Aligned all keys, added missing groups (pricing), and seeded
platform_fee_customer_pays into production.
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent cb8476a3
This diff is collapsed.
...@@ -43,6 +43,7 @@ public function run(): void ...@@ -43,6 +43,7 @@ public function run(): void
['group' => 'financial', 'key' => 'wallet_enabled', 'value' => '1', 'type' => 'boolean', 'description_ar' => 'تفعيل نظام المحفظة الإلكترونية'], ['group' => 'financial', 'key' => 'wallet_enabled', 'value' => '1', 'type' => 'boolean', 'description_ar' => 'تفعيل نظام المحفظة الإلكترونية'],
['group' => 'financial', 'key' => 'installment_late_fee', 'value' => '500', 'type' => 'integer', 'description_ar' => 'غرامة التأخير على الأقساط (بالقروش)'], ['group' => 'financial', 'key' => 'installment_late_fee', 'value' => '500', 'type' => 'integer', 'description_ar' => 'غرامة التأخير على الأقساط (بالقروش)'],
['group' => 'financial', 'key' => 'auto_overdue_after_days', 'value' => '3', 'type' => 'integer', 'description_ar' => 'عدد الأيام بعد تاريخ الاستحقاق لتحويل الفاتورة لمتأخرة'], ['group' => 'financial', 'key' => 'auto_overdue_after_days', 'value' => '3', 'type' => 'integer', 'description_ar' => 'عدد الأيام بعد تاريخ الاستحقاق لتحويل الفاتورة لمتأخرة'],
['group' => 'financial', 'key' => 'platform_fee_customer_pays', 'value' => '1', 'type' => 'boolean', 'description_ar' => 'رسوم المنصة يدفعها العميل (مفعّل: تُضاف للإجمالي — معطّل: تُخصم من إيراد الأكاديمية)'],
// Attendance // Attendance
['group' => 'attendance', 'key' => 'participant_grace_period_minutes', 'value' => '15', 'type' => 'integer', 'description_ar' => 'فترة السماح بالتأخير للمشاركين (بالدقائق)'], ['group' => 'attendance', 'key' => 'participant_grace_period_minutes', 'value' => '15', 'type' => 'integer', 'description_ar' => 'فترة السماح بالتأخير للمشاركين (بالدقائق)'],
......
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