@include('convert_word')

Ref: {{ $companyName }}/HR & Admin/Salary Certificate/{{ date('Y') }}/

Date: {{ date('F d, Y') }}

TO WHOME IT MAY CONCERN

This is to certify that {{ $employee->sex == 'Male' ? 'Mr.' : ($employee->maritial_status == 'Unmarried' ? 'Miss.' : 'Mrs.') }} {{ trim($employee->emp_name_english) }} performing as {{ trim($employee->organization->position->name) }}-{{ trim($employee->organization->departmentInfo->name) }} of {{ $employee->organization->company->name }}. {{ $employee->sex == 'Male' ? 'He' : 'She' }} is a {{ strtolower(trim($employee->organization->recruitmentType->name)) }} of this organization. {{ $employee->sex == 'Male' ? 'His' : 'Her' }} joining date is {{ date('d-m-Y', strtotime($employee->organization->joining_date)) }} & employee ID# {{ trim($employee->emp_id) }}

{{ $employee->sex == 'Male' ? 'His' : 'Her' }} Salary Details given below:
@foreach ($particulars as $key => $particular) @php $bold = $key == 'gross_salary' || $key == 'total_salary_benefits' || $key == 'total_deductions' || $key == 'net_payable' ? true : false; @endphp @if ($key == 'total_salary_benefits') @endif @endforeach
Particulars Amount
{{ $particular['title'] }} {{ number_format($particular['amount']) }}
Deductions:
@php echo 'In Words: ' . convert_number_to_words($particulars['net_payable']['amount'], 'Taka'); @endphp

NB: This letter is issued upon a specific request of staff without accepting any liability on behalf of this letter on or part of this letter on our organization.

Best Regards,

@if (count($departmentWiseHeadInfo) != 0)

{{ $departmentWiseHeadInfo[0]['employee_name'] }}
{{ $departmentWiseHeadInfo[0]['designation'] }}-{{ $departmentWiseHeadInfo[0]['department'] }}
Ambala Foundation

@endif