public function create_propland($ac_id)
 {
     $golongan = TransGol::lists('name', 'id');
     $investors = TransInvestor::lists('name', 'id');
     $status_sertifikat = TransStatusCert::lists('name', 'id');
     $forlands = TransForLand::lists('name', 'id');
     $statuslands = TransStatusLand::lists('name', 'id');
     return view('transaction_assets.create_propland', compact('ac_id', 'golongan', 'investors', 'status_sertifikat', 'forlands', 'statuslands'));
 }
 public function trans_for_land()
 {
     \DB::statement(\DB::raw('set @rownum=0'));
     $trans_for_lands = TransForLand::select([\DB::raw('@rownum  := @rownum  + 1 AS rownum'), 'id', 'name']);
     return Datatables::of($trans_for_lands)->addColumn('action', function ($trans_for_land) {
         return '
   <button id="btn-delete" class="btn btn-xs btn-danger" data-remote="./destroy/' . $trans_for_land->id . '/' . 'for_land' . '">Delete</button>
   ';
     })->make(true);
 }