@extends(!session('nebula', 0) ? 'layouts/web' : 'layouts/nebula') @section('content')
@include(!session('nebula', 0) ? 'customer.partials.header' : 'customer.nebula.header')

{{ __('Transactions') }}

@forelse ($transactionLogs as $transactionLog) @empty @endforelse
{{ __('Amount') }} {{ __('Type') }} {{ __('Created At') }}
@if ($transactionLog->bonus_credits != 0) {{ $transactionLog->bonus_credits }} Mash Tokens 2 @else {{ $transactionLog->amount }} Mash Tokens @endif {{ $transactionLog->getTypeTextAttribute() }} @if ($transactionLog->related instanceof \App\Models\User && $transactionLog->related_id != Auth::user()->id)
{{ __('from') }} {{ $transactionLog->related->name }} @endif
{{ $transactionLog->created_at }}
{{ __('There are no transactions yet.') }}
{{ $transactionLogs->links() }}
@endsection