app/Http/Controllers/invoiceController.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()
    {
        $inv = Invoice::all();
        return view('admin.invoice.view',compact('inv'));
    }
public function index ( ) { $ inv = Invoice :: all ( ) ; return view ( 'admin.invoice.view' , compact ( 'inv' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .