update for version 1.0.1
This commit is contained in:
13
code/app/Model/helpdesk/Settings/Access.php
Normal file
13
code/app/Model/helpdesk/Settings/Access.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\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'
|
||||
];
|
||||
}
|
22
code/app/Model/helpdesk/Settings/Alert.php
Normal file
22
code/app/Model/helpdesk/Settings/Alert.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Alert extends Model {
|
||||
|
||||
/* Using alert_notice table */
|
||||
protected $table = 'alert_notice';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
'id','ticket_status','ticket_admin_email','ticket_department_manager',
|
||||
'ticket_organization_accmanager','message_status','message_last_responder','message_assigned_agent',
|
||||
'message_department_manager','message_organization_accmanager','internal_status','internal_last_responder',
|
||||
'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'
|
||||
|
||||
];
|
||||
|
||||
}
|
12
code/app/Model/helpdesk/Settings/Company.php
Normal file
12
code/app/Model/helpdesk/Settings/Company.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Company extends Model
|
||||
{
|
||||
protected $table = 'company';
|
||||
protected $fillable = [
|
||||
'company_name', 'website', 'phone', 'address', 'landing_page', 'offline_page',
|
||||
'thank_page', 'logo','use_logo'
|
||||
];
|
||||
}
|
16
code/app/Model/helpdesk/Settings/Email.php
Normal file
16
code/app/Model/helpdesk/Settings/Email.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Email extends Model {
|
||||
|
||||
/* Using Email table */
|
||||
protected $table = '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'
|
||||
|
||||
];
|
||||
|
||||
}
|
16
code/app/Model/helpdesk/Settings/Responder.php
Normal file
16
code/app/Model/helpdesk/Settings/Responder.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Responder extends Model {
|
||||
|
||||
/* Using auto_response table */
|
||||
protected $table = 'auto_response';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
|
||||
'id','new_ticket','agent_new_ticket','submitter','participants','overlimit'
|
||||
|
||||
];
|
||||
|
||||
}
|
15
code/app/Model/helpdesk/Settings/System.php
Normal file
15
code/app/Model/helpdesk/Settings/System.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class System extends Model {
|
||||
|
||||
/* Using System Table */
|
||||
protected $table = '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'
|
||||
];
|
||||
|
||||
}
|
14
code/app/Model/helpdesk/Settings/Ticket.php
Normal file
14
code/app/Model/helpdesk/Settings/Ticket.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php namespace App\Model\helpdesk\Settings;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket extends Model {
|
||||
|
||||
/* Using Ticket table */
|
||||
protected $table = 'ticket_settings';
|
||||
/* 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'
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user