@extends('layouts.app') @section('title', 'Customer Wallet') @section('content')
{{ $customer->name }} ({{ $customer->email }})
Current Balance
credits
Total Credits Added
Total Credits Spent
Total Transactions
| Date/Time | Type | Source | Description | Amount | Balance After | Related |
|---|---|---|---|---|---|---|
|
{{ $transaction->created_at->format('M d, Y') }}
{{ $transaction->created_at->format('g:i A') }}
|
{{ $transaction->type === 'credit' ? 'Credit' : 'Debit' }} | {{ ucfirst(str_replace('_', ' ', $transaction->source)) }} |
{{ $transaction->description ?? 'Transaction' }}
@if($transaction->notes)
{{ $transaction->notes }} @endif |
{{ $transaction->type === 'credit' ? '+' : '-' }}{{ number_format($transaction->amount, 2) }} | {{ number_format($transaction->balance_after, 2) }} | @if($transaction->order) Order #{{ $transaction->order->order_number }} @elseif($transaction->booking) Booking #{{ $transaction->booking->booking_reference }} @elseif($transaction->subscription) Subscription @elseif($transaction->credit_package_id) Package Purchase @else - @endif |
This customer has not made any wallet transactions