@php $pathBg = 'data:image/png;base64,'. base64_encode(file_get_contents(public_path('/assets/img/dnsh-warningletter-bg.png'))); @endphp

“Dear Mr/Ms {{ $employee->name }} Generated Date: {{ date('d M Y', strtotime($issuedDate)) }} ,

This is to inform you that your (work performance/behaviour/work ethic) is not up to the mark . This is an opportunity for you to come up as per the organization standards and expectation for our continuous improvement journey.

Request a sincere and meaningful effort as required and hoping too to see with the better outcome in near future.

Reason: {{$reason}}

@if(isset($approved_date)) employee_id)) src="{{ public_path('/assets/img/dnsh-warningletter-content.png') }}" @else src="/assets/img/dnsh-warningletter-content.png" @endif />

Issued Date: {{ date('d M Y', strtotime($approved_date)) }}

@else employee_id)) src="{{ public_path('/assets/img/dnsh-warningletter-content.png') }}" @else src="/assets/img/dnsh-warningletter-content.png" @endif />

Issued Date: {{ date('d M Y', strtotime($issuedDate)) }}

@endif