@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',[ 'title'=> __('Plans'), 'buttons'=>[ [ 'name'=>' '.__('Create A Plan'), 'url'=>route('admin.plan.create'), ] ] ]) @endsection @section('content')
@foreach($plans as $plan)

{{ $plan->title }}

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

{{ $plan->days == 30 ? 'Per month' : 'Per year' }}
{{ __('Active Users') }} ({{ $plan->activeuser_count }})
@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
@endforeach @if(count($plans) == 0)
{{ __('Opps you have not created any plan....') }}
@endif
@endsection