app/Http/Controllers/InvoicesController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $invoices = invoices::all();
        return view('invoices.invoices' , compact('invoices'));
    }
public function index ( ) { $ invoices = invoices :: all ( ) ; return view ( 'invoices.invoices' , compact ( 'invoices' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .