@php if($user->hasRole(['super-admin', 'admin'])) { $layoutDirectory = 'layouts.app'; } else { $layoutDirectory = 'layouts.customer'; } @endphp @extends($layoutDirectory) @section('title', 'Account settings') @push('css') @endpush @section('content')

Edit Account

@cannot('access-admin-panel')
@include('profile.menu')
@endcannot
Payment History
{{--
Next Renewal
Date Charge
No record found
--}}
Past Invoices
@forelse ($payments as $payment) @empty @endforelse
Date Payment Status Invoice
{{ $payment->received_time->format('d/m/Y') ?? '-' }} RM {{ $payment->amount ?? '-' }} {{ $payment->status->label() }}
No record found
@endsection