This commit is contained in:
Manish Verma
2016-12-13 18:18:25 +05:30
parent fc98add11c
commit 2d8e640e9b
2314 changed files with 97798 additions and 75664 deletions

View File

@@ -12,4 +12,10 @@ class Help_topic extends BaseModel
'sla_plan', 'thank_page', 'ticket_num_format', 'internal_notes', 'status', 'type', 'auto_assign',
'auto_response',
];
public function department(){
$related = 'App\Model\helpdesk\Agent\Department';
$foreignKey = 'department';
return $this->belongsTo($related, $foreignKey);
}
}