update 1.0.7

This commit is contained in:
Sujit Prasad
2016-04-19 19:19:42 +05:30
parent 723ef47e19
commit 5327b0c0da
153 changed files with 20711 additions and 1727 deletions

View File

@@ -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',
];

View 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',
];
}

View 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',
];
}

View 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',
];
}

View File

@@ -18,7 +18,7 @@ class Ticket_Thread extends Model
public function delete()
{
$$this->attach()->delete();
$this->attach()->delete();
parent::delete();
}
}

View 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'];
}

View 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'];
}

View 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'];
}