diff --git a/app/Notifications/ApplicationApproved.php b/app/Notifications/ApplicationApproved.php index a0d3edd9..3385c3ea 100644 --- a/app/Notifications/ApplicationApproved.php +++ b/app/Notifications/ApplicationApproved.php @@ -7,7 +7,7 @@ use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; -class ApplicationApproved extends Notification +class ApplicationApproved extends Notification implements ShouldQueue { use Queueable; @@ -42,8 +42,7 @@ public function toMail($notifiable) { return (new MailMessage) ->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia')) - ->greeting('Hello!') - ->line('Your application has been approved!'); + ->view('emails.notifications.application_approved'); } /** diff --git a/app/Notifications/ApplicationRefined.php b/app/Notifications/ApplicationRefined.php index fbbe7381..c0e8ec5f 100644 --- a/app/Notifications/ApplicationRefined.php +++ b/app/Notifications/ApplicationRefined.php @@ -7,7 +7,7 @@ use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; -class ApplicationRefined extends Notification +class ApplicationRefined extends Notification implements ShouldQueue { use Queueable; @@ -42,8 +42,7 @@ public function toMail($notifiable) { return (new MailMessage) ->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia')) - ->greeting('Hello!') - ->line('Your application has been refined!'); + ->view('emails.notifications.application_refined'); } /** diff --git a/app/Notifications/NewMessage.php b/app/Notifications/NewMessage.php index 071b8776..cd192a91 100644 --- a/app/Notifications/NewMessage.php +++ b/app/Notifications/NewMessage.php @@ -7,7 +7,7 @@ use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; -class NewMessage extends Notification +class NewMessage extends Notification implements ShouldQueue { use Queueable; @@ -42,8 +42,7 @@ public function toMail($notifiable) { return (new MailMessage) ->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia')) - ->greeting('Hello!') - ->line('You have new message!'); + ->view('emails.notifications.new_message'); } /** diff --git a/app/Notifications/NewTicket.php b/app/Notifications/NewTicket.php index 32ae364f..a765cbad 100644 --- a/app/Notifications/NewTicket.php +++ b/app/Notifications/NewTicket.php @@ -7,7 +7,7 @@ use Illuminate\Notifications\Messages\MailMessage; use Illuminate\Notifications\Notification; -class NewTicket extends Notification +class NewTicket extends Notification implements ShouldQueue { use Queueable; @@ -42,8 +42,7 @@ public function toMail($notifiable) { return (new MailMessage) ->from(config('settings.smtp_username'), env('MAIL_FROM_NAME', 'Birzha legalizasia')) - ->greeting('Hello!') - ->line('You have new ticket!'); + ->view('emails.notifications.new_ticket'); } /** diff --git a/public/img/mini-logo.png b/public/img/mini-logo.png new file mode 100644 index 00000000..c92336b7 Binary files /dev/null and b/public/img/mini-logo.png differ diff --git a/resources/views/emails/notifications/application_approved.blade.php b/resources/views/emails/notifications/application_approved.blade.php new file mode 100644 index 00000000..00692bdb --- /dev/null +++ b/resources/views/emails/notifications/application_approved.blade.php @@ -0,0 +1,84 @@ + + + + + + + + + + Email template + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + +

+ Your application has been approved. +

+
+
+

+ Helllo! +

+
+

+ Your application has been approved! +

+
+

+ Visit + this link + to see more information on your application status +

+
+ +
+
+ + + + diff --git a/resources/views/emails/notifications/application_refined.blade.php b/resources/views/emails/notifications/application_refined.blade.php new file mode 100644 index 00000000..78fe317f --- /dev/null +++ b/resources/views/emails/notifications/application_refined.blade.php @@ -0,0 +1,84 @@ + + + + + + + + + + Email template + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + +

+ Your application has been refined. +

+
+
+

+ Helllo! +

+
+

+ Your application has been refined! +

+
+

+ Visit + this link + to see more information on your application status +

+
+ +
+
+ + + + diff --git a/resources/views/emails/notifications/new_message.blade.php b/resources/views/emails/notifications/new_message.blade.php new file mode 100644 index 00000000..9e0a687e --- /dev/null +++ b/resources/views/emails/notifications/new_message.blade.php @@ -0,0 +1,84 @@ + + + + + + + + + + Email template + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + +

+ Подтвердите адрес электронной почты. +

+
+
+

+ Здравствуйте, (имя) . +

+
+

+ Вы успешно зарегистрировались на сайте Государственной товарно-сырьевой биржи + Туркменистана. +

+
+

+ Чтобы подтвердить адрес электронной почты и полностью активировать учетную запись, + перейдите по ссылке ... +

+
+ +
+
+ + + + diff --git a/resources/views/emails/notifications/new_ticket.blade.php b/resources/views/emails/notifications/new_ticket.blade.php new file mode 100644 index 00000000..9e0a687e --- /dev/null +++ b/resources/views/emails/notifications/new_ticket.blade.php @@ -0,0 +1,84 @@ + + + + + + + + + + Email template + + + + + + +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + +

+ Подтвердите адрес электронной почты. +

+
+
+

+ Здравствуйте, (имя) . +

+
+

+ Вы успешно зарегистрировались на сайте Государственной товарно-сырьевой биржи + Туркменистана. +

+
+

+ Чтобы подтвердить адрес электронной почты и полностью активировать учетную запись, + перейдите по ссылке ... +

+
+ +
+
+ + + +