@extends('panel::layouts.app') @section('body-class', '') @section('title', __('panel/withdrawal.customer_withdrawals')) @section('content')
| {{ __('panel/common.id') }} | {{ __('panel/withdrawal.customer_name') }} | {{ __('panel/withdrawal.customer_email') }} | {{ __('panel/withdrawal.amount') }} | {{ __('panel/withdrawal.account_type') }} | {{ __('panel/withdrawal.account_number') }} | {{ __('panel/withdrawal.status') }} | {{ __('panel/withdrawal.created_at') }} | @hookinsert('panel.withdrawals.index.thead.bottom'){{ __('panel/common.actions') }} |
| {{ $item->id }} | {{ $item->customer->name ?? '' }} | {{ $item->customer->email ?? '' }} | {{ currency_format($item->amount) }} | {{ $item->account_type_format }} | {{ substr($item->account_number, 0, 6) }}****{{ substr($item->account_number, -4) }} | @switch($item->status) @case('pending') {{ $item->status_format }} @break @case('approved') {{ $item->status_format }} @break @case('paid') {{ $item->status_format }} @break @case('rejected') {{ $item->status_format }} @break @default {{ $item->status_format }} @endswitch | {{ $item->created_at->format('Y-m-d H:i') }} | @hookinsert('panel.withdrawals.index.tbody.bottom', $item)