From fee51e8105d6b7cf2424832222b5c27c68af222e Mon Sep 17 00:00:00 2001 From: Manish Verma Date: Mon, 2 Jan 2017 16:47:54 +0530 Subject: [PATCH] refienment updates # updated database seeder --- database/seeds/DatabaseSeeder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php index d64053fe8..f9efb5f15 100644 --- a/database/seeds/DatabaseSeeder.php +++ b/database/seeds/DatabaseSeeder.php @@ -1994,6 +1994,7 @@ class DatabaseSeeder extends Seeder TemplateType::create(['id' => '11', 'name' => 'registration']); TemplateType::create(['id' => '12', 'name' => 'team_assign_ticket']); TemplateType::create(['id' => '13', 'name' => 'reset_new_password']); + TemplateType::create(['id' => '14', 'name' => 'merge-ticket-notification']); Template::create(['id' => '1', 'variable' => '0', 'name' => 'This template is for sending notice to agent when ticket is assigned to them', 'type' => '1', 'message' => '
Hello {!!$ticket_agent_name!!},

Ticket No: {!!$ticket_number!!}
Has been assigned to you by {!!$ticket_assigner!!}
Please check and resppond on the ticket.
Link: {!!$ticket_link!!}

Thank You
Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); Template::create(['id' => '2', 'variable' => '1', 'name' => 'This template is for sending notice to client with ticket link to check ticket without logging in to system', 'type' => '2', 'subject' => 'Check your Ticket', 'message' => '
Hello {!!$user!!},

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

Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); @@ -2008,6 +2009,7 @@ class DatabaseSeeder extends Seeder Template::create(['id' => '11', 'variable' => '1', 'name' => 'This template is for sending notice to client about registration confirmation link', 'type' => '11', 'subject' => 'Verify your email address', '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' => '12', 'variable' => '1', 'name' => 'This template is for sending notice to team when ticket is assigned to team', 'type' => '12', 'message' => '
Hello {!!$ticket_agent_name!!},

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

Thank You
Kind Regards,
{!!$system_from!!}
', 'set_id' => '1']); Template::create(['id' => '13', 'variable' => '1', 'name' => 'This template is for sending notice to client when password is changed', 'type' => '13', 'subject' => 'Verify your email address', 'message' => 'Hello {!!$user!!},

Your password is successfully changed.Your new password is : {!!$user_password!!}

Thank You.

Kind Regards,
{!!$system_from!!}', 'set_id' => '1']); + Template::create(['id' => '14', 'variable' => '1', 'name' => 'This template is to notify users when their tickets are merged.', 'type' => '14', 'subject' => 'Your tickets have been merged.', 'message' => '

Hello {!!$user!!},
\n
\nYour ticket(s) with ticket number {!!$merged_ticket_numbers!!} have been closed and merged with {!!$ticket_number!!}

\n\n

Possible reasons for merging tickets

\n\n\n\n

Click here to login to your account and check your tickets.

\n\n

Regards,

\n{!!$system_from!!}', 'set_id' => '1']); /* * All the common settings will be listed here