Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-12 coding style as a base with some minor additions. You may customize the code style applied by configuring [Pint](https://laravel.com/docs/pint), [PHP CS Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), or [PHP CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) for your project root. For more information on customizing the code style applied by Shift, [watch this short video](https://laravelshift.com/videos/shift-code-style).
This commit is contained in:
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class Agents extends BaseModel
|
||||
{
|
||||
protected $table = 'agents';
|
||||
|
||||
protected $fillable = [
|
||||
'user_name', 'first_name', 'last_name', 'email', 'phone', 'mobile', 'agent_sign',
|
||||
'account_type', 'account_status', 'assign_group', 'primary_dpt', 'agent_tzone',
|
||||
|
||||
@@ -7,5 +7,6 @@ use App\BaseModel;
|
||||
class Assign_team_agent extends BaseModel
|
||||
{
|
||||
protected $table = 'team_assign_agent';
|
||||
|
||||
protected $fillable = ['id', 'team_id', 'agent_id', 'updated_at', 'created_at'];
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class Department extends BaseModel
|
||||
{
|
||||
protected $table = 'department';
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'type', 'sla', 'manager', 'ticket_assignment', 'outgoing_email',
|
||||
'template_set', 'auto_ticket_response', 'auto_message_response',
|
||||
|
||||
@@ -7,5 +7,6 @@ use App\BaseModel;
|
||||
class Group_assign_department extends BaseModel
|
||||
{
|
||||
protected $table = 'group_assign_department';
|
||||
|
||||
protected $fillable = ['group_id', 'department_id'];
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class Groups extends BaseModel
|
||||
{
|
||||
protected $table = 'groups';
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'group_status', 'can_create_ticket', 'can_edit_ticket',
|
||||
'can_post_ticket', 'can_close_ticket', 'can_assign_ticket',
|
||||
|
||||
@@ -7,6 +7,7 @@ use App\BaseModel;
|
||||
class Teams extends BaseModel
|
||||
{
|
||||
protected $table = 'teams';
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'status', 'team_lead', 'assign_alert', 'admin_notes',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user