Merge Branch

This commit is contained in:
Sada Shiva
2016-02-02 18:39:22 +05:30
parent a302235274
commit 11f4b086b7
20 changed files with 542 additions and 78 deletions

View File

@@ -2182,5 +2182,15 @@ class TicketController extends Controller {
return view('themes.default1.agent.helpdesk.dept-ticket.inprogress',compact('id'));
}
}
public function rating($id,$rating) {
Tickets::where('id', $id)->update(array('rating' => $rating));
return redirect()->back()->with('Success','Thank you for your rating!');
}
public function ratingReply($id,$rating) {
Tickets::where('id', $id)->update(array('ratingreply' => $rating));
return redirect()->back()->with('Success','Thank you for your rating!');
}
}