check the view
This commit is contained in:
parent
5ef2c369db
commit
44a613d9a5
|
|
@ -7,7 +7,7 @@
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
|
|
||||||
class ApplicationApproved extends Notification
|
class ApplicationApproved extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Queueable;
|
use Queueable;
|
||||||
|
|
||||||
|
|
@ -42,8 +42,7 @@ public function toMail($notifiable)
|
||||||
{
|
{
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
||||||
->greeting('Hello!')
|
->view('emails.notifications.application_approved');
|
||||||
->line('Your application has been approved!');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
|
|
||||||
class ApplicationRefined extends Notification
|
class ApplicationRefined extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Queueable;
|
use Queueable;
|
||||||
|
|
||||||
|
|
@ -42,8 +42,7 @@ public function toMail($notifiable)
|
||||||
{
|
{
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
||||||
->greeting('Hello!')
|
->view('emails.notifications.application_refined');
|
||||||
->line('Your application has been refined!');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
|
|
||||||
class NewMessage extends Notification
|
class NewMessage extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Queueable;
|
use Queueable;
|
||||||
|
|
||||||
|
|
@ -42,8 +42,7 @@ public function toMail($notifiable)
|
||||||
{
|
{
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
||||||
->greeting('Hello!')
|
->view('emails.notifications.new_message');
|
||||||
->line('You have new message!');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
|
|
||||||
class NewTicket extends Notification
|
class NewTicket extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
use Queueable;
|
use Queueable;
|
||||||
|
|
||||||
|
|
@ -42,8 +42,7 @@ public function toMail($notifiable)
|
||||||
{
|
{
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia'))
|
||||||
->greeting('Hello!')
|
->view('emails.notifications.new_ticket');
|
||||||
->line('You have new ticket!');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 900 B |
|
|
@ -0,0 +1,84 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
|
||||||
|
<title>Email template</title>
|
||||||
|
<style type="text/css">
|
||||||
|
@media screen and (max-width: 450px) {
|
||||||
|
.title {
|
||||||
|
width: calc(100% - 54px);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body style="font-family: 'Poppins', sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #000;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-weight: 400;
|
||||||
|
background: #fff;
|
||||||
|
position: relative;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-font-smoothing: antialiased;">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="wrapper" style=" margin: 10px;">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<table class="mail"
|
||||||
|
style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
|
||||||
|
<thead style="background-color: #003197;">
|
||||||
|
<tr>
|
||||||
|
<th class="header" style="padding: 0; position: relative;">
|
||||||
|
<div class="header_row" style=" display: flex; align-items: center; padding: 10px 20px;">
|
||||||
|
<div class="logo" style="width: 44px; height: 44px; margin-right: 20px; position: relative; z-index: 2;">
|
||||||
|
<img style=" width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain;" src="https://panel.exchange.gov.tm/img/mini-logo.png" alt="logo">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 class="title" style="font-size: 16px; text-align: left; font-weight: 700; line-height: 1.5; color: #fff; width: calc(100% - 60px);">
|
||||||
|
Your application has been approved.
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="content">
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 30px 0 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Helllo!
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Your application has been approved!
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 30px 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4;">
|
||||||
|
Visit
|
||||||
|
<a href="https://shahsyotag.exchange.gov.tm"> this link </a>
|
||||||
|
to see more information on your application status
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,84 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
|
||||||
|
<title>Email template</title>
|
||||||
|
<style type="text/css">
|
||||||
|
@media screen and (max-width: 450px) {
|
||||||
|
.title {
|
||||||
|
width: calc(100% - 54px);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body style="font-family: 'Poppins', sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #000;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-weight: 400;
|
||||||
|
background: #fff;
|
||||||
|
position: relative;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-font-smoothing: antialiased;">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="wrapper" style=" margin: 10px;">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<table class="mail"
|
||||||
|
style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
|
||||||
|
<thead style="background-color: #003197;">
|
||||||
|
<tr>
|
||||||
|
<th class="header" style="padding: 0; position: relative;">
|
||||||
|
<div class="header_row" style=" display: flex; align-items: center; padding: 10px 20px;">
|
||||||
|
<div class="logo" style="width: 44px; height: 44px; margin-right: 20px; position: relative; z-index: 2;">
|
||||||
|
<img style=" width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain;" src="https://panel.exchange.gov.tm/img/mini-logo.png" alt="logo">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 class="title" style="font-size: 16px; text-align: left; font-weight: 700; line-height: 1.5; color: #fff; width: calc(100% - 60px);">
|
||||||
|
Your application has been refined.
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="content">
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 30px 0 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Helllo!
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Your application has been refined!
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 30px 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4;">
|
||||||
|
Visit
|
||||||
|
<a href="https://shahsyotag.exchange.gov.tm"> this link </a>
|
||||||
|
to see more information on your application status
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,84 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
|
||||||
|
<title>Email template</title>
|
||||||
|
<style type="text/css">
|
||||||
|
@media screen and (max-width: 450px) {
|
||||||
|
.title {
|
||||||
|
width: calc(100% - 54px);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body style="font-family: 'Poppins', sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #000;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-weight: 400;
|
||||||
|
background: #fff;
|
||||||
|
position: relative;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-font-smoothing: antialiased;">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="wrapper" style=" margin: 10px;">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<table class="mail"
|
||||||
|
style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
|
||||||
|
<thead style="background-color: #003197;">
|
||||||
|
<tr>
|
||||||
|
<th class="header" style="padding: 0; position: relative;">
|
||||||
|
<div class="header_row" style=" display: flex; align-items: center; padding: 10px 20px;">
|
||||||
|
<div class="logo" style="width: 44px; height: 44px; margin-right: 20px; position: relative; z-index: 2;">
|
||||||
|
<img style=" width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain;" src="https://panel.exchange.gov.tm/img/mini-logo.png" alt="logo">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 class="title" style="font-size: 16px; text-align: left; font-weight: 700; line-height: 1.5; color: #fff; width: calc(100% - 60px);">
|
||||||
|
Подтвердите адрес электронной почты.
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="content">
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 30px 0 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Здравствуйте, <span> (имя) </span>.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Вы успешно зарегистрировались на сайте Государственной товарно-сырьевой биржи
|
||||||
|
Туркменистана.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 30px 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4;">
|
||||||
|
Чтобы подтвердить адрес электронной почты и полностью активировать учетную запись,
|
||||||
|
<a href="#"> перейдите по ссылке ...</a>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,84 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap" rel="stylesheet">
|
||||||
|
<title>Email template</title>
|
||||||
|
<style type="text/css">
|
||||||
|
@media screen and (max-width: 450px) {
|
||||||
|
.title {
|
||||||
|
width: calc(100% - 54px);
|
||||||
|
font-size: 14px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body style="font-family: 'Poppins', sans-serif;
|
||||||
|
font-size: 14px;
|
||||||
|
color: #000;
|
||||||
|
line-height: 1.4;
|
||||||
|
font-weight: 400;
|
||||||
|
background: #fff;
|
||||||
|
position: relative;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-font-smoothing: antialiased;">
|
||||||
|
|
||||||
|
|
||||||
|
<div id="wrapper" style=" margin: 10px;">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<table class="mail"
|
||||||
|
style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
|
||||||
|
<thead style="background-color: #003197;">
|
||||||
|
<tr>
|
||||||
|
<th class="header" style="padding: 0; position: relative;">
|
||||||
|
<div class="header_row" style=" display: flex; align-items: center; padding: 10px 20px;">
|
||||||
|
<div class="logo" style="width: 44px; height: 44px; margin-right: 20px; position: relative; z-index: 2;">
|
||||||
|
<img style=" width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain;" src="https://panel.exchange.gov.tm/img/mini-logo.png" alt="logo">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h1 class="title" style="font-size: 16px; text-align: left; font-weight: 700; line-height: 1.5; color: #fff; width: calc(100% - 60px);">
|
||||||
|
Подтвердите адрес электронной почты.
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody class="content">
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 30px 0 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Здравствуйте, <span> (имя) </span>.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 0 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
|
||||||
|
Вы успешно зарегистрировались на сайте Государственной товарно-сырьевой биржи
|
||||||
|
Туркменистана.
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="padding: 0 20px 30px 20px;">
|
||||||
|
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4;">
|
||||||
|
Чтобы подтвердить адрес электронной почты и полностью активировать учетную запись,
|
||||||
|
<a href="#"> перейдите по ссылке ...</a>
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue