@extends('layouts.admin') @section('title','Manage Customer Credits') @section('page-title','๐ฐ Manage Customer Credits') @section('styles') @endsection @section('content')
| Date & Time | Customer | Type | Amount | Admin Note / Reason | Admin |
|---|---|---|---|---|---|
| {{ $tx->created_at->format('Y-m-d H:i:s') }} | ๐ค {{ $tx->user->name ?? 'โ' }} | @if($tx->type === 'credit') โ Added @else โ Deducted @endif | @if($tx->type === 'credit') +${{ number_format($tx->amount,2) }} @else -${{ number_format($tx->amount,2) }} @endif | {{ $tx->note ?: 'โ' }} | {{ $tx->source === 'admin-adjustment' ? 'Admin' : 'System' }} |
| No credit history found | |||||