public function getBusdetail()
 {
     $input = Xmlbus::busdetail(Input::all());
     //$input="";
     $data = Bus::destinationcities($input);
     $output = Xmltoarray::arr($data);
     //print_r($output);
     $busdetail = $output['SOAP:ENVELOPE']['SOAP:BODY']['SEARCHRESPONSE']['SEARCHRESULT']['BUSSEARCHRESULT']['WSBUSSEARCHRESULT'];
     $dateofjourney = $output['SOAP:ENVELOPE']['SOAP:BODY']['SEARCHRESPONSE']['SEARCHRESULT']['DATEOFJOURNEY'];
     Session::put('session_id', $output['SOAP:ENVELOPE']['SOAP:BODY']['SEARCHRESPONSE']['SEARCHRESULT']['SESSIONID']);
     //print_r(array_unique($busdetail)); exit;
     return View::make('subretailer.bus.searchdetail')->with('busdetail', $busdetail)->with('dateofjourney', $dateofjourney)->with('input', Input::all());
 }