@extends('frontend.layouts.app') @push('title') {{ $title }} @endpush @section('content') {{ $title }} {{ __('Home') }} {{ $title }} @auth() @if ($user->currentMembership) @else ! @endif @if (auth()->user() && $user->currentMembership) {{ __('Currently you are') }} {{ $user->currentMembership->membership->title }} {{ __('Member') }} {{ __('Expire at') }} : {{ $user->currentMembership->expired_date }} @else {{ __('Currently you have no membership plan') }} @endif @endauth @forelse ($all_membership as $membership) {{ $membership->title }} {{ showPrice($membership->price) }}/{{ $membership->duration }}{{ getDurationType($membership->duration_type) }} @if (auth()->user() && $user->currentMembership && $user->currentMembership->membership_id == $membership->id) {{ __('Get Membership') }} @else {{ __('Get Membership') }} @endif @empty {{ __('No Membership Found') }} @endforelse @endsection
!
{{ __('Expire at') }} : {{ $user->currentMembership->expired_date }}
{{ showPrice($membership->price) }}/{{ $membership->duration }}{{ getDurationType($membership->duration_type) }}
{{ __('No Membership Found') }}