@extends('layouts.app') @section('title', 'Wallet') @section('content') @use('App\Support\Money')

Wallet

Available
{{ Money::format($wallet->available, $wallet->currency) }}
Reserved
{{ Money::format($wallet->reserved, $wallet->currency) }}

Transactions

@foreach (['q','type','from','to'] as $f)@error($f)
{{ $message }}
@enderror @endforeach
@forelse ($transactions as $tx) @empty @endforelse
DateTypeAmountAvailable afterReference
{{ $tx->created_at->format('d M Y, H:i') }} {{ \Illuminate\Support\Str::headline($tx->type->value) }} {{ Money::sign($tx->type->value) }}{{ Money::format($tx->amount, $wallet->currency) }} {{ Money::format($tx->available_after, $wallet->currency) }} {{ $tx->reference }}
No transactions found.
@include('partials.pager', ['paginator' => $transactions])
@endsection