|
#{{ $row->id }}
|
{{ substr($row->users_first_name ?? '', 0, 1) }}
|
{{ @$row->currency }}{{ number_format($row->amount, 2) }}
|
@php
$paymentMethod = $row->payment_method ?? null;
@endphp
@if($paymentMethod == 'cash')
Cash
@elseif($paymentMethod == 'online')
Online
@else
---
@endif
|
@if($row->transaction_type)
{{ ucwords(str_replace('_', ' ', $row->transaction_type)) }}
@else
---
@endif
|
@if($row->type == 'in')
In
@elseif($row->type == 'out')
Out
@else
{{ $row->type ?? '---' }}
@endif
|
@if($row->status == 3)
Failed
@elseif($row->status == 1)
Success
@elseif($row->status == 4)
Pending
@endif
|
{{ _dt($row->created_at, 'M d, Y') }}
{{ _dt($row->created_at, 'h:i A') }}
|
{{--
--}}
|
@endforeach