/**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $page_title = "Update Document";
     $dok = dokumen_tbl::find($id);
     $babin_tbls = babin_tbl::all(['id', 'nama']);
     return view('pages.trans.doc.edit', compact('dok', 'babin_tbls', 'page_title'));
 }
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($id)
 {
     $page_title = "Update data provinsi";
     $prov = provinsi_tbl::find($id);
     $babin_tbls = babin_tbl::all(['id', 'nama']);
     return view('pages.master.prov.edit', compact('prov', 'babin_tbls', 'page_title'));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function destroy($id)
 {
     babin_tbl::find($id)->delete();
     return redirect('babin');
 }