@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 payment history')}}
@foreach ($affiliate_payments as $key => $affiliate_payment) @endforeach
# {{ translate('Date') }} {{translate('Amount')}} {{translate('Payment Method')}}
{{ $key+1 }} {{ date('d-m-Y', strtotime($affiliate_payment->created_at)) }} {{ single_price($affiliate_payment->amount) }} {{ ucfirst(str_replace('_', ' ', $affiliate_payment ->payment_method)) }}
{{ $affiliate_payments->links() }}
@endsection @section('modal') @endsection @section('script') @endsection