@extends('frontend.layouts.main') @section('title') {{ __('Account') }} @endsection @section('content')
{{ __('Balance') }} {{ __('Created') }} {{ __('Updated') }} {{ __('Actions') }}
{{ $account->_balance }} {{ $account->created_at->diffForHumans() }} {{ $account->updated_at->diffForHumans() }} @packageview('frontend.includes.account.actions')
@if(!$transactions->isEmpty())

{{ __('Transactions') }}

@foreach ($transactions as $transaction) @endforeach
{{ __('ID') }} {{ __('Type') }} {{ __('Amount') }} {{ __('Running balance') }} {{ __('Created') }}
{{ $transaction->transactionable_id }} {{ $transaction->transactionable->title ?? class_basename($transaction->transactionable_type) }} {{ $transaction->_amount }} {{ $transaction->_balance }} {{ $transaction->created_at->diffForHumans() }}
{{ $transactions->links() }}
@endif @endsection