@extends('layouts.load')
@section('content')

                        <div class="content-area no-padding">
                            <div class="add-product-content">
                                <div class="row">
                                    <div class="col-lg-12">
                                        <div class="product-description">
                                            <div class="body-area" id="modalEdit">

                                            <div class="table-responsive show-table">
                                                <table class="table">
                                                    <tr>
                                                        <th>{{ __("User ID#") }}</th>
                                                        <td>{{$withdraw->user->id}}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("User Name") }}</th>
                                                        <td>
                                                            <a href="{{route('admin-user-show',$withdraw->user->id)}}" target="_blank">{{$withdraw->user->name}}</a>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("Withdraw Amount") }}</th>
                                                        <td>{{ showAdminAmount($withdraw->amount) }}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("Withdraw Charge") }}</th>
                                                        <td>{{ showAdminAmount($withdraw->fee) }}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("Withdraw Process Date") }}</th>
                                                        <td>{{date('d-M-Y',strtotime($withdraw->created_at))}}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("Withdraw Status") }}</th>
                                                        <td>{{ucfirst($withdraw->status)}}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("User Email") }}</th>
                                                        <td>{{$withdraw->user->email}}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("User Phone") }}</th>
                                                        <td>{{$withdraw->user->phone}}</td>
                                                    </tr>
                                                    <tr>
                                                        <th>{{ __("Withdraw Method") }}</th>
                                                        <td>{{$withdraw->method}}</td>
                                                    </tr>

                                                    <tr>
                                                        <th>{{ __("Withdraw Account Details") }}</th>
                                                        <td>{{$withdraw->details}}</td>
                                                    </tr>
                                                </table>
                                            </div>


                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

@endsection
