app/Http/Controllers/invoiceController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $plan = Plan::where('active',1)->get();
        return view('admin.invoice.create',compact('plan'));
    }
public function create ( ) { $ plan = Plan :: where ( 'active' , 1 ) -> get ( ) ; return view ( 'admin.invoice.create' , compact ( 'plan' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .