{{--
=====================================================
Etebarit - by Gisoo Web Solutions
------------------------------------------------------
Gisoo.net
------------------------------------------------------
Copyright (c) 2026 Gisoo Web Solutions
=====================================================
This code is protected by copyright
=====================================================
File: index.blade.php
------------------------------------------------------
Use: The withdrawal queue. Pending requests come first;
the review modal carries the destination account in
full and either records the deposit reference or
returns the money to the user.
=====================================================
--}}
@extends('layouts.admin')
@section('title', __('admin.withdrawals.title'))
@section('breadcrumb')
{{ __('admin.withdrawals.subtitle') }}
| {{ __('admin.withdrawals.columns.code') }} | {{ __('admin.withdrawals.columns.user') }} | {{ __('admin.withdrawals.columns.account') }} | {{ __('admin.withdrawals.columns.amount') }} | {{ __('admin.withdrawals.columns.date') }} | {{ __('admin.withdrawals.columns.status') }} | {{ __('admin.withdrawals.columns.actions') }} |
|---|---|---|---|---|---|---|
| @fa($withdrawal->code) | @if ($withdrawal->user) {{ $withdrawal->user->fullName() }} @fa($withdrawal->user->mobile) @else — @endif | {{ $account?->bankName() }} @fa($account?->maskedCard()) | @toman($withdrawal->amount) {{ __('admin.toman') }} | @jalaliDateTime($withdrawal->created_at) | $withdrawal->status === \App\Models\Withdrawal::STATUS_PENDING, 'bg-[#eaf1ff] text-blue-600' => $withdrawal->status === \App\Models\Withdrawal::STATUS_APPROVED, 'bg-[#e7f7ee] text-green-600' => $withdrawal->status === \App\Models\Withdrawal::STATUS_SETTLED, 'bg-secondary-50 text-secondary-500' => $withdrawal->status === \App\Models\Withdrawal::STATUS_REJECTED, ])>{{ __("admin.withdrawals.statuses.{$withdrawal->status}") }} | {{ __('admin.withdrawals.review') }} |
| {{ $search !== '' ? __('admin.withdrawals.empty') : __("admin.withdrawals.empty_filtered.{$status}") }} | ||||||