@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->charged_at ? $co->charged_at->format('Y-m-d') : '-' }} {{ $co->service->sid }} {{ $co->type }} {{ $co->description }} {{ number_format($co->quantity*$co->amount,2) }}
@endif