@php $hr = auth()->user()->employee; switch ($actionType) { case 'promotion': $action = 'You have been Promoted!'; $message = 'As a HR, I am very happy to announce that you have been promoted to new post.'; break; case 'demotion': $action = 'You have been Demoted!'; $message = 'As a HR, I am very sad to announce that you have been demoted to lower post.'; break; case 'interviewer': $action = 'You have been selected as interviewer for recent job post'; $message = 'As a HR, I have put your name in merit list to be interviewer for tomorrow.'; break; case 'interviewee': $action = 'Your interview has been scheduled'; $message = 'As a HR, I am here to announce for tomorrow please visit office tomorrow in time.'; break; default: $action = 'You have been Notified!'; $message = 'As a HR, I am here to notify you'; break; } @endphp
OMIS Logo
Hey, {{ $model->employee?->full_name }}
{{ $action }};
{{ $message }}
{{ $hr->full_name }}

{{ $hr->designation?->name }}

2024 OMIS. Thank you for using our system.