@extends('frontend.layouts.app') @section('content')
@include('frontend.inc.user_side_nav')

{{ translate('Affiliate') }}

{{ single_price(Auth::user()->affiliate_user->balance) }}
{{ translate('Affiliate Balance') }}
{{ translate('Affiliate Withdraw Request') }}
{{ translate('Affiliate withdraw request history')}}
@foreach ($affiliate_withdraw_requests as $key => $affiliate_withdraw_request) @endforeach
# {{ translate('Date') }} {{ translate('Amount')}} {{ translate('Status')}}
{{ $key+1 }} {{ date('d-m-Y', strtotime($affiliate_withdraw_request->created_at)) }} {{ single_price($affiliate_withdraw_request->amount) }} @if($affiliate_withdraw_request->status == 1) {{translate('Approved')}} @elseif($affiliate_withdraw_request->status == 2) {{translate('Rejected')}} @else {{translate('Pending')}} @endif
{{ $affiliate_withdraw_requests->links() }}
@endsection @section('modal') @endsection @section('script') @endsection