public function getTopup() { $jsonresult = Icash::topuphistory(); //print_r($jsonresult); exit; if ($jsonresult && $jsonresult->status == "success") { return View::make('admin.icash.topup')->with('topupdetails', $jsonresult->topuphistory); } else { return Redirect::to('admin/noservice'); } }