@if(isset($invoices) && count($invoices) > 0) @foreach($invoices as $inv) @endforeach @endif