Applied fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
be5df5334f
commit
d637c2b23f
@@ -4,13 +4,12 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Access extends Model {
|
||||
|
||||
class Access extends Model
|
||||
{
|
||||
protected $table = 'access';
|
||||
protected $fillable = [
|
||||
'password_expire', 'reg_method', 'user_session',
|
||||
'agent_session', 'reset_ticket_expire', 'password_reset',
|
||||
'bind_agent_ip', 'reg_require', 'quick_access'
|
||||
'bind_agent_ip', 'reg_require', 'quick_access',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Alert extends Model {
|
||||
class Alert extends Model
|
||||
{
|
||||
/* Using alert_notice table */
|
||||
|
||||
protected $table = 'settings_alert_notice';
|
||||
@@ -17,7 +18,6 @@ class Alert extends Model {
|
||||
'internal_assigned_agent', 'internal_department_manager', 'assignment_status', 'assignment_assigned_agent',
|
||||
'assignment_team_leader', 'assignment_team_member', 'transfer_status', 'transfer_assigned_agent', 'transfer_department_manager',
|
||||
'transfer_department_member', 'overdue_status', 'overdue_assigned_agent', 'overdue_department_manager',
|
||||
'overdue_department_member', 'system_error', 'sql_error', 'excessive_failure'
|
||||
'overdue_department_member', 'system_error', 'sql_error', 'excessive_failure',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,12 +4,11 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Company extends Model {
|
||||
|
||||
class Company extends Model
|
||||
{
|
||||
protected $table = 'settings_company';
|
||||
protected $fillable = [
|
||||
'company_name', 'website', 'phone', 'address', 'landing_page', 'offline_page',
|
||||
'thank_page', 'logo', 'use_logo'
|
||||
'thank_page', 'logo', 'use_logo',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Email extends Model {
|
||||
class Email extends Model
|
||||
{
|
||||
/* Using Email table */
|
||||
|
||||
protected $table = 'settings_email';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id', 'template', 'sys_email', 'alert_email', 'admin_email', 'mta', 'email_fetching', 'strip',
|
||||
'separator', 'all_emails', 'email_collaborator', 'attachment'
|
||||
'separator', 'all_emails', 'email_collaborator', 'attachment',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,9 +4,8 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Plugin extends Model {
|
||||
|
||||
class Plugin extends Model
|
||||
{
|
||||
protected $table = 'plugins';
|
||||
protected $fillable = ['name', 'path', 'status'];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Responder extends Model {
|
||||
class Responder extends Model
|
||||
{
|
||||
/* Using auto_response table */
|
||||
|
||||
protected $table = 'settings_auto_response';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
'id', 'new_ticket', 'agent_new_ticket', 'submitter', 'participants', 'overlimit'
|
||||
'id', 'new_ticket', 'agent_new_ticket', 'submitter', 'participants', 'overlimit',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class System extends Model {
|
||||
class System extends Model
|
||||
{
|
||||
/* Using System Table */
|
||||
|
||||
protected $table = 'settings_system';
|
||||
protected $fillable = [
|
||||
|
||||
'id', 'status', 'url', 'name', 'department', 'page_size', 'log_level', 'purge_log', 'name_format',
|
||||
'time_farmat', 'date_format', 'date_time_format', 'day_date_time', 'time_zone', 'content', 'api_key', 'api_enable'
|
||||
'time_farmat', 'date_format', 'date_time_format', 'day_date_time', 'time_zone', 'content', 'api_key', 'api_enable',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -4,14 +4,14 @@ namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket extends Model {
|
||||
class Ticket extends Model
|
||||
{
|
||||
/* Using Ticket table */
|
||||
|
||||
protected $table = 'settings_ticket';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id', 'num_format', 'num_sequence', 'priority', 'sla', 'help_topic', 'max_open_ticket', 'collision_avoid',
|
||||
'captcha', 'status', 'claim_response', 'assigned_ticket', 'answered_ticket', 'agent_mask', 'html', 'client_update', 'max_file_size'
|
||||
'captcha', 'status', 'claim_response', 'assigned_ticket', 'answered_ticket', 'agent_mask', 'html', 'client_update', 'max_file_size',
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user