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

Evangelism - Vituo Sponsorships

@can('Manage Evangelism') Add Vituo @endcan
@include('alerts.success') @include('alerts.errors') @include('alerts.error')

{{ $stats['total_vituos'] }}

Total Vituo

{{ $stats['sponsored_vituos'] }}

Sponsored Vituo

{{ $stats['not_sponsored_vituos'] }}

Not Sponsored

{{ $stats['sponsorship_percentage'] }}%

Sponsorship Rate

Vituo List

Green means the kituo has a sponsor, red means it has not been sponsored yet.

@if($vituos->count() > 0)
@foreach($vituos as $vituo) @php $isSponsored = $vituo->is_sponsored; @endphp @endforeach
Kituo Name Code District Location Status Actions
{{ $vituo->name }} {{ $vituo->code ?? '-' }} {{ $vituo->district ?? '-' }} {{ $vituo->location ?? '-' }} @if($isSponsored) Sponsored @else Not Sponsored @endif
@can('Manage Evangelism') @endcan
@else
No vituo found

Please create vituo and sponsorship data to see them listed here.

@can('Manage Evangelism') Add First Vituo @endcan
@endif
@endsection