@extends('admin.layout.master') @section('title','SERVICE CHARGE') @section('content')

Service Charge Report

@if($bills) @php $total = 0; @endphp @php $i = 1; @endphp @foreach ($bills as $bill)
{{ $total += $bill->service_charge; }}
@endforeach @endif {{--

--}}
Sl Bill id Service Charge
{{ $i++ }} {{ $bill->id }} {{ $bill->service_charge }}
Total {{ $total }}
@endsection @section('script') @endsection