@foreach($subscription_plans as $key => $plan)
@php
$getTrialPrice = 49;
if($plan->min_qty == 2){
$getTrialPrice = 99;
}
elseif($plan->min_qty == 5){
$getTrialPrice = 149;
}
@endphp
@if($loop->index == 1)
{{-- @elseif($loop->index == 2)
--}}
@endif
@php
$getPrice = $plan->min_price;
if(strtolower($term) == 'quater'){
$getPrice = $plan->min_price/3;
}
elseif (strtolower($term) == 'year') {
$getPrice = $plan->min_price/12;
}
@endphp
${{$getPrice}}
${{ $getPrice ?? ''}}
/Month
/Month
GET STARTED
{{-- START
14-DAY TRIAL
FOR ${{$getTrialPrice}} --}}
@endforeach