@forelse($data['tithes'] as $key => $tithe) @empty @endforelse
S/n Street Name Amount Year
{{ $key + 1 }} {{ $tithe->name }} {{ number_format($tithe->amount, 2) }} {{ $tithe->year }}
You have no tithe records.
Total Tithe: {{ number_format($data['tithes']->sum('amount'), 2) }}