@forelse($transactions as $row)
@php
$status_color = "#f39c12";
if($row->status == 'approved' || $row->status == 'success') $status_color = "#2ecc71";
if($row->status == 'rejected') $status_color = "#e74c3c";
$icon = ($row->type == 'deposit') ? "💱" : "🎉";
$type_label = ucfirst($row->type);
@endphp
{{ $icon }}
{{ $type_label }} via {{ $row->method }}
{{ ($row->reference != 'Ref: System') ? "Trx: ".$row->reference : $row->reference }}
{{ ($row->type=='deposit')?'+':'-' }} ৳{{ number_format($row->amount, 2) }}
● {{ $row->status }}
@empty
কোনো লেনদেন খুঁজে পাওয়া যায়নি।
@endforelse