$name=Input::get('name');
DB::table('attendence')
->where('name',$name)
->update([
'checkedout' => $this->data->checkedout,
'type'=> $this->data->type,
]);
return redirect('attendence')->with('Thank You!');