update 1.0.7
This commit is contained in:
@@ -10,7 +10,7 @@ class Groups extends Model
|
||||
protected $fillable = [
|
||||
'name', 'group_status', 'can_create_ticket', 'can_edit_ticket',
|
||||
'can_post_ticket', 'can_close_ticket', 'can_assign_ticket',
|
||||
'can_transfer_ticket', 'can_delete_ticket', 'can_ban_email',
|
||||
'can_delete_ticket', 'can_ban_email',
|
||||
'can_manage_canned', 'can_manage_faq', 'can_view_agent_stats',
|
||||
'department_access', 'admin_notes',
|
||||
];
|
||||
|
14
app/Model/helpdesk/Notification/Notification.php
Normal file
14
app/Model/helpdesk/Notification/Notification.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Notification;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Notification extends Model
|
||||
{
|
||||
protected $table = 'notifications';
|
||||
protected $fillable = [
|
||||
|
||||
'model_id', 'userid_created', 'type_id',
|
||||
];
|
||||
}
|
14
app/Model/helpdesk/Notification/NotificationType.php
Normal file
14
app/Model/helpdesk/Notification/NotificationType.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Notification;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class NotificationType extends Model
|
||||
{
|
||||
protected $table = 'notification_types';
|
||||
protected $fillable = [
|
||||
|
||||
'message', 'type', 'icon_class',
|
||||
];
|
||||
}
|
14
app/Model/helpdesk/Notification/UserNotification.php
Normal file
14
app/Model/helpdesk/Notification/UserNotification.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Notification;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class UserNotification extends Model
|
||||
{
|
||||
protected $table = 'user_notification';
|
||||
protected $fillable = [
|
||||
|
||||
'notification_id', 'user_id', 'is_read',
|
||||
];
|
||||
}
|
@@ -18,7 +18,7 @@ class Ticket_Thread extends Model
|
||||
|
||||
public function delete()
|
||||
{
|
||||
$$this->attach()->delete();
|
||||
$this->attach()->delete();
|
||||
parent::delete();
|
||||
}
|
||||
}
|
||||
|
12
app/Model/helpdesk/Workflow/WorkflowAction.php
Normal file
12
app/Model/helpdesk/Workflow/WorkflowAction.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Workflow;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WorkflowAction extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'workflow_action';
|
||||
protected $fillable = ['id', 'workflow_id', 'condition', 'action', 'updated_at', 'created_at'];
|
||||
}
|
12
app/Model/helpdesk/Workflow/WorkflowName.php
Normal file
12
app/Model/helpdesk/Workflow/WorkflowName.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Workflow;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WorkflowName extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'workflow_name';
|
||||
protected $fillable = ['id', 'name', 'status', 'order', 'target', 'internal_note', 'updated_at', 'created_at'];
|
||||
}
|
12
app/Model/helpdesk/Workflow/WorkflowRules.php
Normal file
12
app/Model/helpdesk/Workflow/WorkflowRules.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model\helpdesk\Workflow;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class WorkflowRules extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
protected $table = 'workflow_rules';
|
||||
protected $fillable = ['id', 'workflow_id', 'matching_criteria', 'matching_scenario', 'matching_relation', 'matching_value', 'updated_at', 'created_at'];
|
||||
}
|
Reference in New Issue
Block a user