app/Http/Controllers/MedicineController.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 = Category::all();
        $sup = Supplier::all();
        return view("medicine.create", compact('data','sup'));
    }
public function create ( ) { $ data = Category :: all ( ) ; $ sup = Supplier :: all ( ) ; return view ( " medicine.create " , compact ( 'data' , 'sup' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .