@extends('layouts.dashboard') @section('content')

My Sponsorship

@if($sponsor->isConfirmed())
@foreach($sponsor->getReturnsData() as $key => $data) @endforeach
S/N Amount Due Date Due Status
{{$key + 1}}
{{$data['amount_due']}}
{{$data['date_due']->toFormattedDateString()}}
{{$data['status']}}

Returns

{{$sponsor->accumulatedreturns()['formatted']}}


@elseif($sponsor->hasUploadedDocument())

Kindly exercise patience as your sponsorship is pending approval

@else

Upload Agreement

@csrf
@if ($errors->has('agreement')) {{ $errors->first('agreement') }} @endif
@endif
@include('includes.javascript.priv-spons-transfer-modal-functionality')
@endsection