@extends('frontend.components.layout') @section('title') Withdraw Balance @endsection @push('css') @endpush @section('topmenu') @include('frontend.components.topmenu') @endsection @section('content')
@include('frontend.customer.leftmenu')

My Point

@if ($customer->referredCustomers->count() > 0)

Users Referred by You

@if(is_null($customer->referral_by))
@endif
@if ($customer->referredCustomers->count() > 0) @foreach ($customer->referredCustomers->take(3) as $key => $customer) @endforeach
Sl Name Email Amount Phone Joined Date
{{ $key + 1 }} {{ $customer->name }} {{ $customer->email }} ৳ {{ $customer->referral_balance }} {{ $customer->phone }} {{ $customer->created_at->format('d M Y') }}
@else

No referred users yet.

@endif
@endif

Payment Request

@csrf
@error('amount') {{ $message }} @enderror
@error('payment_method') {{ $message }} @enderror
@endsection @push('css') @endpush @push('js') @endpush