{{-- @foreach($clients as $client)--}} {{-- @php($clientBalance = clientBalance($client->id))--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endforeach--}}
Sl. Name Mobile Address Debit Credit Status Action
{{ $sl = $loop->iteration }}{{ $client->name }}{{ $client->mobile }}{{ $client->address }}{{ $clientBalance['title']=='Debit'? $clientBalance['balance'] :'' }}{{ $clientBalance['title']=='Credit'? $clientBalance['balance'] :'' }}--}} {{-- {{ $client->status==1?'Enabled':'Disabled' }}--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--