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

Pending Charges

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