@foreach($invoices as $value) @endforeach
Invoice No Customer Invoice Date Invoice Due Date Invoice Amount
{{$value->invoice_no}} {{$value->customer->first_name.' '.$value->customer->last_name}} {{date_format(date_create($value->invoice_date),'Y-m-d')}} {{date_format(date_create($value->due_date),'Y-m-d')}} {{number_format($value->sub_total,2)}}