Move email/ resources to mail/, added invoice generated email to admin, updated email template

This commit is contained in:
2024-08-03 10:06:25 +10:00
parent f8453ae391
commit 0469d64577
40 changed files with 439 additions and 213 deletions

View File

@@ -0,0 +1,17 @@
@component('mail::message',['site'=>$site,'heading'=>'Traffic Mismatch: '.$date])
Hi {{ isset($user) ? $user->name_full.',' : '' }}
The traffic import today, had mismatching records. A request to have those login removed has been generated.
@component('mail::table')
| ID |
| - |
@foreach ($aso->trafficMismatch($date) as $o)
| {{ $o->service }}
@endforeach
@endcomponent
Thanks,<br>
{{ config('mail.from.name') }}
@endcomponent

View File

@@ -0,0 +1,21 @@
@component('mail::message',['site'=>$site,'heading'=>'Link Your Account'])
Hi {{ isset($user) ? $user->name_full.',' : '' }}
A request was made to link your account to a social login.
If you didnt make this request, you can ignore this, and the request will be ignored.
If you did make the request, then please enter the code displayed below.
@component('mail::button')
{{ $token }}
@endcomponent
Once you've keyed in this code, you'll be able to login to your account using your social login instead of a username and a password.
Thanks,
{{ config('mail.from.name') }}
@component('mail::subcontent')
If you didnt make this request, you can safely ignore this email - no change was made to your account, nor was it accessed by an unauthorised person.
@endcomponent
@endcomponent

View File

@@ -0,0 +1,11 @@
@component('mail::message',['site'=>$site,'heading'=>'System Test Email'])
Hi {{ isset($user) ? $user->name_full.',' : '' }}
This is just a test email to validate that you can receive emails from us.
Nothing you need to do!
Thanks,
{{ config('mail.from.name') }}
@endcomponent