@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',[ 'title' => __('Subscription Plan'), 'buttons' => [ [ 'name'=>'  '.__('Subscriptions History'), 'url'=> url('/user/subscriptions/log'), ] ] ]) @endsection @section('content')
@if(Session::has('saas_error'))
@endif @foreach($plans as $plan)

{{ $plan->title }}

{{ amount_format($plan->price) }}

{{ $plan->days == 30 ? 'Per month' : 'Per year' }}
@foreach($plan->data ?? [] as $key => $data)
@if(planData($key,$data)['is_bool'] == true) @if(planData($key,$data)['value'] == true) @else @endif @else @endif {{ str_replace('_',' ',planData($key,$data)['title']) }}
@endforeach
{{ Auth::user()->plan_id == $plan->id ? __('Activated') : __('Subscribe') }}
@endforeach
@endsection