app/Http/Controllers/PatientController.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()
    {
        $data=Patient::simplePaginate(50);
        $insuranceType = Insurance::all();
        $charges = Charge::all();
        return view('pages.patients.patients')
            ->with('data',$data)
            ->with('insuranceType',$insuranceType)
            ->with('charges',$charges);
    }
public function create ( ) { $ data = Patient :: simplePaginate ( 50 ) ; $ insuranceType = Insurance :: all ( ) ; $ charges = Charge :: all ( ) ; return view ( 'pages.patients.patients' ) -> with ( 'data' , $ data ) -> with ( 'insuranceType' , $ insuranceType ) -> with ( 'charges' , $ charges ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .