File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -383,22 +383,6 @@ public function ticketsAsAgent()
383383 return $ this ->hasMany ('PanicHD\PanicHD\Models\Ticket ' , 'agent_id ' );
384384 }
385385
386- /**
387- * Get related agent Completed tickets.
388- */
389- public function agentCompleteTickets ()
390- {
391- return $ this ->hasMany ('PanicHD\PanicHD\Models\Ticket ' , 'agent_id ' )->whereNotNull ('completed_at ' );
392- }
393-
394- /**
395- * Get related agent tickets.
396- */
397- public function agentOpenTickets ()
398- {
399- return $ this ->hasMany ('PanicHD\PanicHD\Models\Ticket ' , 'agent_id ' )->whereNull ('completed_at ' );
400- }
401-
402386 /**
403387 * Get related owner tickets.
404388 */
@@ -407,22 +391,6 @@ public function ticketsAsOwner()
407391 return $ this ->hasMany ('PanicHD\PanicHD\Models\Ticket ' , 'user_id ' );
408392 }
409393
410- /**
411- * Get related user Completed tickets.
412- */
413- public function userCompleteTickets ()
414- {
415- return $ this ->hasMany ('PanicHD\PanicHD\Models\Ticket ' , 'user_id ' )->whereNotNull ('completed_at ' );
416- }
417-
418- /**
419- * Get related user tickets.
420- */
421- public function userOpenTickets ()
422- {
423- return $ this ->hasMany ('PanicHD\PanicHD\Models\Ticket ' , 'user_id ' )->whereNull ('completed_at ' );
424- }
425-
426394 /**
427395 * Get all Visible agents for current user.
428396 *
You can’t perform that action at this time.
0 commit comments