@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 && floatval($item->discount) > 0 && floatval($item->price) > 0)
{{ (floatval($item->price) * 100)/ floatval($item->discount) .General::getCurrency() }}
@endif
{{ $item->price .General::getCurrency() }}
التكلفة للفرد الواحد
@endif
{{--
Recommended
--}}
@endforeach
@endif