{{ date('d F Y', strtotime($res['created_at'])) }} |
{{ number_format($res['point'], 0) }} |
{{ ucwords($res['source']) }} |
{{ $res['transaction']['transaction_receipt_number'] }} |
@endforeach
@endif
@if (!empty($user[0]['point_voucher']))
@foreach ($user[0]['point_voucher'] as $res)
{{ date('d F Y', strtotime($res['created_at'])) }} |
{{ number_format($res['point'], 0) }} |
{{ ucwords($res['source']) }} |
@if (empty($res['voucher']['trx_id'])) Bought at {{ date('d F Y', strtotime($res['voucher']['created_at'])) }} @else {{ $res['voucher']['trx_id'] }} @endif |
@endforeach
@endif