function getAllRoute()
 {
     $route = Route::getAllRoute();
     return Datatables::of($route)->addColumn('action', function ($route) {
         return '<li class="dropdown dropdown-no-type"><a data-toggle="dropdown" class="dropdown-toggle btn btn-xs btn-primary" href="#" > Pilihan <b class="caret"></b></a><ul class="dropdown-menu"><li><button class="btn btn-primary" id="' . $route->ROUTE_ID . '">Edit</button></li><li><button class="btn btn-danger" id="' . $route->ROUTE_ID . '" data-target="#hapusRoute">Hapus</button></li></ul></li>';
     })->make(true);
 }
 function show($tanggal)
 {
     $route = Route::getAllRoute()->get();
     $vehicle = Vehicle::all();
     return view('travel::travel.listschedule', compact('tanggal', 'route', 'vehicle'));
 }