예제 #1
0
 public function activities($id)
 {
     return view('app.ticket.activities', ['ticket' => Ticket::withTrashed()->find($id)]);
 }
예제 #2
0
 public function index()
 {
     return view('app.dashboard.index', ['opportunities' => Opportunity::where('user_id', auth()->user()->id)->where('opportunity_stage_id', '<=', 3)->orderBy('updated_at', 'DESC')->get(), 'tickets' => Ticket::where('user_id', auth()->user()->id)->orderBy('updated_at', 'DESC')->get()]);
 }