Example #1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit($id)
 {
     $data = Akun::find($id)->toArray();
     $tipeakuns = TipeAkun::all()->toArray();
     $currencies = MataUang::all()->toArray();
     return view('akun.edit', compact('data', 'tipeakuns', 'currencies'));
 }