@can('retention_discount_plans_create')
@endcan
@foreach ($discountPlans as $discountPlan)
| {{ $discountPlan->name_en }} |
{{ $discountPlan->name_ar }} |
{{ $discountPlan->one_level ?? '-' }} |
{{ $discountPlan->level_from ?? '-' }} |
{{ $discountPlan->level_to ?? '-' }} |
{{ $discountPlan->trackLevel?->name_en ?? '-' }} |
{{ $discountPlan->type }}
|
{{ $discountPlan->discount ?? '-' }}
|
@can('retention_discount_plans_update')
@endcan
@can('retention_discount_plans_destroy')
@endcan
|
@endforeach
@foreach ($discountPlans as $discountPlan)
@can('retention_discount_plans_destroy')
Are you sure you want to delete this discount plan?
@endcan
@can('retention_discount_plans_update')
@include('dashboard.academics.discount_plan.edit', [
'discountPlan' => $discountPlan,
'categories' => $categories,
])
@endcan
@endforeach
@can('retention_discount_plans_create')
@include('dashboard.academics.discount_plan.create', ['categories' => $categories])
@endcan