Commit 75c39ad7 authored by Mahmoud Aglan's avatar Mahmoud Aglan

Default platform_fee_customer_pays to false (academy absorbs fee)

New instances and the service fallback now default to the academy paying
the platform fee rather than adding it to the client's invoice.
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent f94c8803
...@@ -34,6 +34,6 @@ public function isActive(): bool ...@@ -34,6 +34,6 @@ public function isActive(): bool
*/ */
public function customerPays(): bool public function customerPays(): bool
{ {
return (bool) app(SettingsService::class)->get('platform_fee_customer_pays', true); return (bool) app(SettingsService::class)->get('platform_fee_customer_pays', false);
} }
} }
...@@ -115,7 +115,7 @@ class SystemSettings extends Component ...@@ -115,7 +115,7 @@ class SystemSettings extends Component
'payment_due_days' => '7', 'payment_due_days' => '7',
'max_discount_percent' => '50', 'max_discount_percent' => '50',
'wallet_enabled' => '1', 'wallet_enabled' => '1',
'platform_fee_customer_pays' => '1', 'platform_fee_customer_pays' => '0',
'refund_requires_approval' => '1', 'refund_requires_approval' => '1',
'refund_approval_threshold' => '50000', 'refund_approval_threshold' => '50000',
'installment_late_fee' => '500', 'installment_late_fee' => '500',
......
...@@ -43,7 +43,7 @@ public function run(): void ...@@ -43,7 +43,7 @@ public function run(): void
['group' => 'financial', 'key' => 'wallet_enabled', 'value' => '1', 'type' => 'boolean', 'label_ar' => 'تفعيل المحفظة', 'description_ar' => 'تفعيل نظام المحفظة الإلكترونية'], ['group' => 'financial', 'key' => 'wallet_enabled', 'value' => '1', 'type' => 'boolean', 'label_ar' => 'تفعيل المحفظة', 'description_ar' => 'تفعيل نظام المحفظة الإلكترونية'],
['group' => 'financial', 'key' => 'installment_late_fee', 'value' => '500', 'type' => 'integer', 'label_ar' => 'غرامة تأخير الأقساط (بالقرش)', 'description_ar' => 'غرامة التأخير على الأقساط (بالقروش)'], ['group' => 'financial', 'key' => 'installment_late_fee', 'value' => '500', 'type' => 'integer', 'label_ar' => 'غرامة تأخير الأقساط (بالقرش)', 'description_ar' => 'غرامة التأخير على الأقساط (بالقروش)'],
['group' => 'financial', 'key' => 'auto_overdue_after_days', 'value' => '3', 'type' => 'integer', 'label_ar' => 'أيام التحويل لمتأخرة', 'description_ar' => 'عدد الأيام بعد تاريخ الاستحقاق لتحويل الفاتورة لمتأخرة'], ['group' => 'financial', 'key' => 'auto_overdue_after_days', 'value' => '3', 'type' => 'integer', 'label_ar' => 'أيام التحويل لمتأخرة', 'description_ar' => 'عدد الأيام بعد تاريخ الاستحقاق لتحويل الفاتورة لمتأخرة'],
['group' => 'financial', 'key' => 'platform_fee_customer_pays', 'value' => '1', 'type' => 'boolean', 'label_ar' => 'العميل يدفع رسوم المنصة', 'description_ar' => 'رسوم المنصة يدفعها العميل (مفعّل: تُضاف للإجمالي — معطّل: تُخصم من إيراد الأكاديمية)'], ['group' => 'financial', 'key' => 'platform_fee_customer_pays', 'value' => '0', 'type' => 'boolean', 'label_ar' => 'العميل يدفع رسوم المنصة', 'description_ar' => 'رسوم المنصة يدفعها العميل (مفعّل: تُضاف للإجمالي — معطّل: تُخصم من إيراد الأكاديمية)'],
// Attendance // Attendance
['group' => 'attendance', 'key' => 'participant_grace_period_minutes', 'value' => '15', 'type' => 'integer', 'label_ar' => 'فترة السماح للمشاركين (دقائق)', 'description_ar' => 'فترة السماح بالتأخير للمشاركين (بالدقائق)'], ['group' => 'attendance', 'key' => 'participant_grace_period_minutes', 'value' => '15', 'type' => 'integer', 'label_ar' => 'فترة السماح للمشاركين (دقائق)', '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