@extends('layouts.app') @push('title') {{$title}} @endpush @section('content')

{{$title}}

@if($user->currentMembership)

@else

!

@endif
@if($user->currentMembership)

{{ __('Currently you are') }} {{ $user->currentMembership->membership->title }} {{ __('Member') }}

{{ __('Expire at') }} : {{ $user->currentMembership->expired_date }}

@else

{{ __('Currently you have no membership plan') }}

@endif
@forelse ($allMembership as $membership)

{{$membership->title}}

{{showPrice($membership->price)}}/{{$membership->duration}} {{getDurationType($membership->duration_type)}}

@if($user->currentMembership && $user->currentMembership->membership_id == $membership->id) @else {{__('Get Membership')}} @endif
@empty
{{ __('No Data Found') }}
@endforelse
@endsection