@props([ 'id', 'uuid', 'name', 'slug', 'price', 'features', 'description', 'hasActiveSubscription' => false, 'currentPlanId' => null, 'highlighted' => false ]) @php $isCurrentPlan = $currentPlanId && $currentPlanId === $id; @endphp
merge([ 'class'=> 'card price-card h-100 '. $slug ])}} style="background-color:#fff">
{{$name}}

{{$description}}

{{number_format($price, 0)}}

/ per month
@if($isCurrentPlan) Current Plan @elseif($hasActiveSubscription) Upgrade @else Choose Plan @endif
    @foreach ($features as $feature)
  • {{$feature->feature}}

  • @endforeach