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

Site Summary Detail (Site Wise)

@if(!empty($data))
Back Export Excel Export PDF
@php $total = 0; @endphp @foreach($data as $index => $row) @php $total += $row->AmountPaid; @endphp @endforeach
Sr Site Name Amount Paid
{{ $index + 1 }} {{ $row->AccountName }} {{ number_format($row->AmountPaid, 2) }}
Total {{ number_format($total, 2) }}
@endif
@endsection