@extends('layouts.user') @push('css') @endpush @section('title')

@lang('Subscription plans')

@lang('Dashboard')
@endsection @section('content')
@foreach ($plans as $key => $data)

{{ $data->title }}

{{ $data->sub_title }}

{{ $data->price }}

    @foreach (json_decode($data->attribute) as $key => $attribute)
  • {{ $attribute }}
  • @endforeach
@if (auth()->user()->plan_id == $data->id) @lang('Current Plan')
({{ auth()->user()->plan_end_date ? Carbon\Carbon::parse(auth()->user()->plan_end_date)->toDateString() : '' }}) @lang('Renew Plan')
@else @lang('Choose Plan') @endif
@endforeach
@endsection @push('js') @endpush