Commit 9116bbbd by Azhan Hannan

changes mail notification cron

parent fce4b6f1
...@@ -3,6 +3,11 @@ ...@@ -3,6 +3,11 @@
namespace App\Console\Commands; namespace App\Console\Commands;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use Portal\Timesheet\Model\Ts_master;
use Portal\Timesheet\Model\VwTpStatus;
use Portal\Timesheet\Model\VwPelulus;
use Mail;
use App\Mail\ApprovalNotification;
class Approval extends Command class Approval extends Command
{ {
......
@component('mail::message')
# Timesheet Approval
Assalamualaikum w.b.t Mr/Mrs.
{!! ucwords(strtolower($data_email['name'])) !!},
We greatly appreciate your help to approve several timesheets as stated below.
@if(count($projectstafflist)>0)
Timesheet approval :
<br>
@foreach($projectstafflist as $key => $staff)
- {{ ucwords(strtolower(data_get($staff,'staffdetails.fullname'))) }}.
<br>
@endforeach
@endif
Your cooperation is highly appreciated.
Thank you.
@component('mail::button', ['url' => 'https://timesheet.3fresources.com/home'])
Etimesheet
@endcomponent
---
<br>
<i>This is an auto generated message, please do not reply.</i>
@endcomponent
@component('mail::message')
# Timesheet Verification
Assalamualaikum w.b.t Mr/Mrs.
{!! ucwords(strtolower($data_email['name'])) !!},
We greatly appreciate your help to verify several timesheet as stated below.
@if(count($projectstafflist)>0)
Project verification :
<br>
@foreach($projectstafflist as $key => $staff)
- {{ ucwords(strtolower(data_get($staff,'staffdetails.fullname'))) }}.
<br>
@endforeach
@endif
@if(count($overheadstafflist)>0)
Overhead verification :
<br>
@foreach($overheadstafflist as $key => $staff)
- {{ ucwords(strtolower(data_get($staff,'staffdetails.fullname'))) }}.
<br>
@endforeach
@endif
Your cooperation is highly appreciated.
Thank you.
@component('mail::button', ['url' => 'https://timesheet.3fresources.com/home'])
Etimesheet
@endcomponent
---
<br>
<i>This is an auto generated message, please do not reply.</i>
@endcomponent
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment