@extends('backend.layouts.app') @section('content')
{{translate('Affiliate Withdraw Request')}}
@foreach($affiliate_withdraw_requests as $key => $affiliate_withdraw_request) @php $status = $affiliate_withdraw_request->status ; @endphp @if ($affiliate_withdraw_request->user != null) @endif @endforeach
# {{translate('Date')}} {{translate('Name')}} {{translate('Email')}} {{translate('Amount')}} {{translate('Status')}} {{translate('options')}}
{{ ($key+1) + ($affiliate_withdraw_requests->currentPage() - 1)*$affiliate_withdraw_requests->perPage() }} {{ $affiliate_withdraw_request->created_at}} {{ optional($affiliate_withdraw_request->user)->name}} {{ optional($affiliate_withdraw_request->user)->email}} {{ single_price($affiliate_withdraw_request->amount)}} @if($status == 1) {{translate('Approved')}} @elseif($status == 2) {{translate('Rejected')}} @else {{translate('Pending')}} @endif @if($status == 0) @else {{ translate('No Action Available')}} @endif
{{ $affiliate_withdraw_requests->links() }}
@endsection @section('modal') @endsection @section('script') @endsection