@php
$all_features = \App\Models\Feature::where('type_of', 'programmes')->get();
@endphp
@if (isset($programmes) && $programmes->count() > 0)
@foreach ($programmes as $item)
{{ $item->name }} {{ $item->title }}
شامل المزايا الآتية
@php
$prog_features = $item->features
->pluck('id')
->toArray();
@endphp
@foreach ($all_features as $feature)
-
{{ $feature->name }}
@endforeach
@if ($item->price > 0)
@if ($item->discount != null)
{{ ($item->price * 100) / $item->discount . General::getCurrency() }}
@endif
{{ $item->price . General::getCurrency() }}
التكلفة للفرد الواحد
@endif
{{--
Recommended
--}}
@endforeach
@endif