<?php
declare(strict_types=1);

use App\Core\Registries\PermissionRegistry;

// Menu registered centrally via Members/bootstrap.php under "membership" parent.

PermissionRegistry::register('installments', [
    'installment.view'           => ['ar' => 'عرض الأقساط',       'en' => 'View Installments'],
    'installment.create'         => ['ar' => 'إنشاء قسط',         'en' => 'Create Installment'],
    'installment.create_plan'    => ['ar' => 'إنشاء خطة تقسيط',   'en' => 'Create Installment Plan'],
    'installment.pay'            => ['ar' => 'سداد قسط',          'en' => 'Pay Installment'],
    'installment.record_payment' => ['ar' => 'تسجيل دفعة قسط',    'en' => 'Record Installment Payment'],
    'installment.modify_plan'    => ['ar' => 'تعديل خطة التقسيط', 'en' => 'Modify Installment Plan'],
]);