JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrhome/stradeinfotech.in/hrm.stradeinfotech.in/app/Models/Ticket.php000064400000002142150414447240021242 0ustar00type == 'employee') { return TicketReply:: where('ticket_id', $this->id)->where('is_read', 0)->where('created_by', '!=', \Auth::user()->id)->count('id'); } else { return TicketReply:: where('ticket_id', $this->id)->where('is_read', 0)->where('created_by', '!=', \Auth::user()->creatorId())->count('id'); } } public function createdBy() { return $this->hasOne('App\Models\user', 'id', 'ticket_created'); } public function getUser() { return $this->hasOne('App\Models\Employee', 'user_id', 'employee_id'); } }