@extends('layouts.restaurant') @section('title', 'Wallet') @section('content')

Available Balance

{{ $currencySymbol }}{{ number_format($wallet->balance, 2) }}

Locked Balance

{{ $currencySymbol }}{{ number_format($wallet->locked_balance, 2) }}

Currency

{{ $wallet->currency ?: 'INR' }}

Recent Transactions
@forelse($transactions as $transaction) @empty @endforelse
Date Type Description Amount Balance After
{{ optional($transaction->created_at)->format('d M Y, h:i A') }} {{ ucfirst(str_replace('_', ' ', $transaction->type)) }} {{ $transaction->description ?: '-' }} {{ $currencySymbol }}{{ number_format($transaction->amount, 2) }} {{ $currencySymbol }}{{ number_format($transaction->balance_after, 2) }}
No wallet transactions yet.
@if($transactions->hasPages())
{{ $transactions->links() }}
@endif
@endsection