@if(($x=$list)->count())

Pending Charges

@foreach ($x as $co) @endforeach
ID Date Created Date Charge Service Type Description Total
{{ $co->id }} {{ $co->created_at->format('Y-m-d') }} {{ $co->charge_at ? $co->charge_at->format('Y-m-d') : '-' }} {{ $co->service->sid }} {{ $co->type }} {{ $co->description }} {{ number_format($co->quantity*$co->amount,2) }}
@endif