From b641b9569f49ee57ea61cd6680691cd3608f0d66 Mon Sep 17 00:00:00 2001 From: Sujit Prasad Date: Thu, 16 Jun 2016 12:44:45 +0530 Subject: [PATCH] update v 1.0.7.5 R.C. --- database/seeds/DatabaseSeeder.php | 42 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index 3794efe9f..a0ca153d4 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -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' => '
Hello {!!$ticket_agent_name!!},

Ticket No: {!!$ticket_number!!}
Has been assigned to you by {!!$ticket_assigner!!} 

Thank You
Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); Template::create(['id' => '2', 'name' => 'check-ticket', 'type' => '2', 'message' => '
Hello {!!$user!!},

Click the link below to view your Requested ticket
{!!$ticket_link_with_number!!}

Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); @@ -2001,23 +2000,22 @@ class DatabaseSeeder extends Seeder Template::create(['id' => '4', 'name' => 'create-ticket', 'type' => '4', 'message' => '
Hello {!!$user!!}

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.

Ticket ID: {!!$ticket_number!!} 
{!!$department_sign!!}
You can check the status of or update this ticket online at: {!!$system_link!!}
', 'set_id' => '1']); Template::create(['id' => '5', 'name' => 'create-ticket-agent', 'type' => '5', 'message' => '
Hello {!!$ticket_agent_name!!},       

New ticket {!!$ticket_number!!} created 
From
Name :- {!!$ticket_client_name!!}    
E-mail :- {!!$ticket_client_email!!}   

{!!$content!!}     

Kind Regards,
{!!$system_from!!}

', 'set_id' => '1']); Template::create(['id' => '6', 'name' => 'create-ticket-by-agent', 'type' => '6', 'message' => '
{!!$content!!}

{!!$agent_sign!!}

You can check the status of or update this ticket online at: {!!$system_link!!}
', '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' => '

Hello {!!$user!!} , 

This email is confirmation that you are now registered at our helpdesk.

Registered Email: {!!$email_address!!}

Password: {!!$user_password!!}

You can visit the helpdesk to browse articles and contact us at any time: {!!$system_link!!}

Thank You.

Kind Regards,

{!!$system_from!!} 

', 'set_id' => '1']); - Template::create(['id' => '9', 'name' => 'reset-password', 'type' => '9', 'message' => 'Hello {!!$user!!}

You asked to reset your password. To do so, please click this link:

{!!$password_reset_link!!}


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.

Thank You.

Kind Regards,

{!!$system_from!!}', 'set_id' => '1']); - Template::create(['id' => '10', 'name' => 'ticket-reply', 'type' => '10', 'message' => '

{!!$content!!}   

{!!$agent_sign!!} 

Ticket Details

Ticket ID: {!!$ticket_number!!}     




', 'set_id' => '1']); - Template::create(['id' => '11', 'name' => 'ticket-reply-agent', 'type' => '11', 'message' => '
Hello {!!$ticket_agent_name!!},
A reply been made to ticket {!!$ticket_number!!}
From
Name: {!!$ticket_client_name!!}
E-mail: {!!$ticket_client_email!!}
{!!$content!!}
Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); - Template::create(['id' => '12', 'name' => 'registration', 'type' => '12', 'message' => '

Hello {!!$user!!} , 

This email is confirmation that you are now registered at our helpdesk.

Registered Email: {!!$email_address!!}

Please click on the below link to activate your account and Login to the system {!!$password_reset_link!!}

Thank You.

Kind Regards,

{!!$system_from!!} 

', 'set_id' => '1']); - - - /* + Template::create(['id' => '7', 'name' => 'registration-notification', 'type' => '7', 'message' => '

Hello {!!$user!!} , 

This email is confirmation that you are now registered at our helpdesk.

Registered Email: {!!$email_address!!}

Password: {!!$user_password!!}

You can visit the helpdesk to browse articles and contact us at any time: {!!$system_link!!}

Thank You.

Kind Regards,

{!!$system_from!!} 

', 'set_id' => '1']); + Template::create(['id' => '8', 'name' => 'reset-password', 'type' => '8', 'message' => 'Hello {!!$user!!}

You asked to reset your password. To do so, please click this link:

{!!$password_reset_link!!}


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.

Thank You.

Kind Regards,

{!!$system_from!!}', 'set_id' => '1']); + Template::create(['id' => '9', 'name' => 'ticket-reply', 'type' => '9', 'message' => '

{!!$content!!}   

{!!$agent_sign!!} 

Ticket Details

Ticket ID: {!!$ticket_number!!}     




', 'set_id' => '1']); + Template::create(['id' => '10', 'name' => 'ticket-reply-agent', 'type' => '10', 'message' => '
Hello {!!$ticket_agent_name!!},
A reply been made to ticket {!!$ticket_number!!}
From
Name: {!!$ticket_client_name!!}
E-mail: {!!$ticket_client_email!!}
{!!$content!!}
Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); + Template::create(['id' => '11', 'name' => 'registration', 'type' => '11', 'message' => '

Hello {!!$user!!} , 

This email is confirmation that you are now registered at our helpdesk.

Registered Email: {!!$email_address!!}

Please click on the below link to activate your account and Login to the system {!!$password_reset_link!!}

Thank You.

Kind Regards,

{!!$system_from!!} 

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