@extends('admin.layouts.app') @section('main_content')

{{translate($title)}}

{{translate('Withdraw Log List')}}
@forelse($withdraws as $withdraw) @if($withdraw->seller) @elseif($withdraw->user) @elseif($withdraw->deliveryman_id) @else @endif @empty @endforelse
{{translate( "Time" )}} {{translate('Seller/Deliveryman/User')}} {{translate('Method')}} {{translate('Amount')}} {{translate('Charge')}} {{translate('Receivable')}} {{translate('Status')}} {{translate('Action')}}
{{diff_for_humans($withdraw->created_at)}}
{{get_date_time($withdraw->created_at)}}
{{(@$withdraw->seller->username)}}
{{(@$withdraw->seller->name)}}
{{(@$withdraw->user->username)}}
{{(@$withdraw->user->name)}}
{{(@$withdraw->deliveryman->first_name)}}
{{(@$withdraw->deliveryman->email)}}
N/A {{(@$withdraw->method ? $withdraw->method->name : translate('N/A'))}} {{round(($withdraw->amount))}} {{default_currency()->name}} {{round(($withdraw->charge))}} {{default_currency()->name}} {{round(($withdraw->final_amount))}} {{@$withdraw->currency->name}} @if($withdraw->status == "1") {{translate('Received')}} @elseif($withdraw->status == "2") {{translate('Pending')}} @elseif($withdraw->status == "3") {{translate('Rejected')}} @endif
@if($withdraw->status == 2) @endif
@include('admin.partials.not_found')
{{$withdraws->links()}}
@endsection @push('script-push') @endpush