@extends('layouts.master') @section('title') LT-99 :: รายการถอนเงิน @endsection @section('sub_title') รายการถอนเงิน @endsection @section('content')

รายการถอนเงิน

@if ($withdrawRequest->count() === 0) @else @foreach ($withdrawRequest as $key => $item) @php $status = withdrawStatus($item) @endphp @endforeach @endif
# ผู้แจ้งถอน จัดการ จำนวนเงิน เวลาที่แจ้ง เวลาที่ดำเนินการ บัญชี สถานะ
ยอดถอนรวม: {{ nf($withdrawRequest->sum('amount'), true) }}

ไม่มีรายการ

{{ $key + 1 }} @if ($item->status === 0)
action_status ? 'checked':null) }}>
@endif
{{ $item->user->username }}
{{ $item->user->name }}
Reference: {{ $item->user->reference_name }}
@if ($item->status === 0) @endif {{ number_format($item->amount, 2) }}  {{ THdatetime($item->created_at) }} {{ THdatetime($item->created_at !== $item->updated_at ? $item->updated_at : '') }} @if ($item->bankAccount) {{ bankName($item->bankAccount->bank_code ?? '-') }}
{{ $item->bankAccount->bank_owner_name }}
{{ $item->bankAccount->bank_number }}

โทร: {{ $item->user->phone }} @endif
{{ $status['text'] }} @if ($status['code'] === 2 && !empty($status['note']))
*หมายเหตุ: {{ $status['note'] }} @endif
*ผู้ทำรายการ: {{ $item->action_username }}
@endsection @section('scripts') @endsection