update v 1.0.7.5 R.C.
This commit is contained in:
@@ -10,9 +10,7 @@ use App\Model\helpdesk\Email\Smtp;
|
||||
use App\Model\helpdesk\Manage\Help_topic;
|
||||
use App\Model\helpdesk\Manage\Sla_plan;
|
||||
use App\Model\helpdesk\Notification\NotificationType;
|
||||
use App\Model\helpdesk\Ratings\Rating;
|
||||
use App\Model\helpdesk\Settings\Alert;
|
||||
use App\Model\helpdesk\Settings\CommonSettings;
|
||||
use App\Model\helpdesk\Settings\Company;
|
||||
use App\Model\helpdesk\Settings\Email;
|
||||
use App\Model\helpdesk\Settings\Responder;
|
||||
@@ -33,6 +31,8 @@ use App\Model\helpdesk\Utility\Time_format;
|
||||
use App\Model\helpdesk\Utility\Timezones;
|
||||
use App\Model\helpdesk\Utility\Version_Check;
|
||||
use App\Model\helpdesk\Workflow\WorkflowClose;
|
||||
use App\Model\helpdesk\Settings\CommonSettings;
|
||||
use App\Model\helpdesk\Ratings\Rating;
|
||||
use App\Model\kb\Settings;
|
||||
// Knowledge base
|
||||
use Illuminate\Database\Seeder;
|
||||
@@ -1988,12 +1988,11 @@ class DatabaseSeeder extends Seeder
|
||||
TemplateType::create(['id' => '4', 'name' => 'create-ticket']);
|
||||
TemplateType::create(['id' => '5', 'name' => 'create-ticket-agent']);
|
||||
TemplateType::create(['id' => '6', 'name' => 'create-ticket-by-agent']);
|
||||
TemplateType::create(['id' => '7', 'name' => 'error-report']);
|
||||
TemplateType::create(['id' => '8', 'name' => 'registration-notification']);
|
||||
TemplateType::create(['id' => '9', 'name' => 'reset-password']);
|
||||
TemplateType::create(['id' => '10', 'name' => 'ticket-reply']);
|
||||
TemplateType::create(['id' => '11', 'name' => 'ticket-reply-agent']);
|
||||
TemplateType::create(['id' => '12', 'name' => 'registration']);
|
||||
TemplateType::create(['id' => '7', 'name' => 'registration-notification']);
|
||||
TemplateType::create(['id' => '8', 'name' => 'reset-password']);
|
||||
TemplateType::create(['id' => '9', 'name' => 'ticket-reply']);
|
||||
TemplateType::create(['id' => '10', 'name' => 'ticket-reply-agent']);
|
||||
TemplateType::create(['id' => '11', 'name' => 'registration']);
|
||||
|
||||
Template::create(['id' => '1', 'name' => 'assign-ticket', 'type' => '1', 'message' => '<div>Hello {!!$ticket_agent_name!!},<br><br>Ticket No: {!!$ticket_number!!}<br>Has been assigned to you by {!!$ticket_assigner!!} <br><br>Thank You<br>Kind Regards,<br>{!!$system_from!!}</div>', 'set_id' => '1']);
|
||||
Template::create(['id' => '2', 'name' => 'check-ticket', 'type' => '2', 'message' => '<div>Hello {!!$user!!},<br><br>Click the link below to view your Requested ticket<br>{!!$ticket_link_with_number!!}<br><br>Kind Regards,<br>{!!$system_from!!} </div>', 'set_id' => '1']);
|
||||
@@ -2001,23 +2000,22 @@ class DatabaseSeeder extends Seeder
|
||||
Template::create(['id' => '4', 'name' => 'create-ticket', 'type' => '4', 'message' => '<div><span>Hello {!!$user!!}<br><br></span><span>Thank you for contacting us. This is an automated response confirming the receipt of your ticket. Our team will get back to you as soon as possible. When replying, please make sure that the ticket ID is kept in the subject so that we can track your replies.<br><br></span><span>Ticket ID: {!!$ticket_number!!} <br></span><span>{!!$department_sign!!}<br></span>You can check the status of or update this ticket online at: {!!$system_link!!}</div>', 'set_id' => '1']);
|
||||
Template::create(['id' => '5', 'name' => 'create-ticket-agent', 'type' => '5', 'message' => '<div>Hello {!!$ticket_agent_name!!}, <br><br>New ticket {!!$ticket_number!!} created <br>From<br>Name :- {!!$ticket_client_name!!} <br>E-mail :- {!!$ticket_client_email!!} <br><br>{!!$content!!} <br><br>Kind Regards,<br>{!!$system_from!!}</div><br>', 'set_id' => '1']);
|
||||
Template::create(['id' => '6', 'name' => 'create-ticket-by-agent', 'type' => '6', 'message' => '<div>{!!$content!!}<br><br>{!!$agent_sign!!}<br><br>You can check the status of or update this ticket online at: {!!$system_link!!}</div>', 'set_id' => '1']);
|
||||
Template::create(['id' => '7', 'name' => 'error-report', 'type' => '7', 'message' => ' {!!$system_error!!} ', 'set_id' => '1']);
|
||||
Template::create(['id' => '8', 'name' => 'registration-notification', 'type' => '8', 'message' => '<span><p>Hello {!!$user!!} , </p><p>This email is confirmation that you are now registered at our helpdesk.</p><p>Registered Email: {!!$email_address!!}</p><p>Password: {!!$user_password!!}</p><p>You can visit the helpdesk to browse articles and contact us at any time: {!!$system_link!!}</p><p>Thank You.</p><p>Kind Regards,</p><p>{!!$system_from!!} </p></span>', 'set_id' => '1']);
|
||||
Template::create(['id' => '9', 'name' => 'reset-password', 'type' => '9', 'message' => 'Hello {!!$user!!}<br/><br/>You asked to reset your password. To do so, please click this link:<br/><br/>{!!$password_reset_link!!}</a><br/><br/><br/>This will let you change your password to something new. If you did not ask for this, do not worry, we will keep your password safe.<br/><br/>Thank You.<br/><br/>Kind Regards,<br/><br/> {!!$system_from!!}', 'set_id' => '1']);
|
||||
Template::create(['id' => '10', 'name' => 'ticket-reply', 'type' => '10', 'message' => '<span><div><span><p>{!!$content!!} <br></p><p>{!!$agent_sign!!} </p><p>Ticket Details</p><p>Ticket ID: {!!$ticket_number!!} </p><div><br></div></span><br></div><div><br></div></span>', 'set_id' => '1']);
|
||||
Template::create(['id' => '11', 'name' => 'ticket-reply-agent', 'type' => '11', 'message' => '<div>Hello {!!$ticket_agent_name!!},<b><br></b>A reply been made to ticket {!!$ticket_number!!}<b><br></b>From<br>Name: {!!$ticket_client_name!!}<br>E-mail: {!!$ticket_client_email!!}<b><br></b>{!!$content!!}<b><br></b>Kind Regards,<br>{!!$system_from!!}</div>', 'set_id' => '1']);
|
||||
Template::create(['id' => '12', 'name' => 'registration', 'type' => '12', 'message' => '<span><p>Hello {!!$user!!} , </p><p>This email is confirmation that you are now registered at our helpdesk.</p><p>Registered Email: {!!$email_address!!}</p><p>Please click on the below link to activate your account and Login to the system {!!$password_reset_link!!}</p><p>Thank You.</p><p>Kind Regards,</p><p>{!!$system_from!!} </p></span>', 'set_id' => '1']);
|
||||
|
||||
|
||||
/*
|
||||
Template::create(['id' => '7', 'name' => 'registration-notification', 'type' => '7', 'message' => '<span><p>Hello {!!$user!!} , </p><p>This email is confirmation that you are now registered at our helpdesk.</p><p>Registered Email: {!!$email_address!!}</p><p>Password: {!!$user_password!!}</p><p>You can visit the helpdesk to browse articles and contact us at any time: {!!$system_link!!}</p><p>Thank You.</p><p>Kind Regards,</p><p>{!!$system_from!!} </p></span>', 'set_id' => '1']);
|
||||
Template::create(['id' => '8', 'name' => 'reset-password', 'type' => '8', 'message' => 'Hello {!!$user!!}<br/><br/>You asked to reset your password. To do so, please click this link:<br/><br/>{!!$password_reset_link!!}</a><br/><br/><br/>This will let you change your password to something new. If you did not ask for this, do not worry, we will keep your password safe.<br/><br/>Thank You.<br/><br/>Kind Regards,<br/><br/> {!!$system_from!!}', 'set_id' => '1']);
|
||||
Template::create(['id' => '9', 'name' => 'ticket-reply', 'type' => '9', 'message' => '<span><div><span><p>{!!$content!!} <br></p><p>{!!$agent_sign!!} </p><p>Ticket Details</p><p>Ticket ID: {!!$ticket_number!!} </p><div><br></div></span><br></div><div><br></div></span>', 'set_id' => '1']);
|
||||
Template::create(['id' => '10', 'name' => 'ticket-reply-agent', 'type' => '10', 'message' => '<div>Hello {!!$ticket_agent_name!!},<b><br></b>A reply been made to ticket {!!$ticket_number!!}<b><br></b>From<br>Name: {!!$ticket_client_name!!}<br>E-mail: {!!$ticket_client_email!!}<b><br></b>{!!$content!!}<b><br></b>Kind Regards,<br>{!!$system_from!!}</div>', 'set_id' => '1']);
|
||||
Template::create(['id' => '11', 'name' => 'registration', 'type' => '11', 'message' => '<span><p>Hello {!!$user!!} , </p><p>This email is confirmation that you are now registered at our helpdesk.</p><p>Registered Email: {!!$email_address!!}</p><p>Please click on the below link to activate your account and Login to the system {!!$password_reset_link!!}</p><p>Thank You.</p><p>Kind Regards,</p><p>{!!$system_from!!} </p></span>', 'set_id' => '1']);
|
||||
|
||||
|
||||
/**
|
||||
* All the common settings will be listed here
|
||||
*/
|
||||
CommonSettings::create(['id' => '1', 'option_name' => 'ticket_token_time_duration', 'option_value' => '1']);
|
||||
|
||||
/*
|
||||
|
||||
/**
|
||||
* Ratings
|
||||
*/
|
||||
Rating::create(['id' => '1', 'name' => 'OverAll Satisfaction', 'display_order' => '1', 'allow_modification' => '1', 'rating_scale' => '5', 'rating_area' => 'Helpdesk Area']);
|
||||
Rating::create(['id' => '2', 'name' => 'Reply Rating', 'display_order' => '1', 'allow_modification' => '1', 'rating_scale' => '5', 'rating_area' => 'Comment Area']);
|
||||
}
|
||||
Rating::create(['id'=>'1','name'=>'OverAll Satisfaction','display_order'=>'1','allow_modification' => '1', 'rating_scale'=>'5','rating_area'=>'Helpdesk Area']);
|
||||
Rating::create(['id'=>'2','name'=>'Reply Rating','display_order'=>'1','allow_modification' => '1', 'rating_scale'=>'5','rating_area'=>'Comment Area']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user