@php $logo = base64_encode(file_get_contents(public_path('uploads/logo.png'))); @endphp

Sweet Nation

Narayanganj

@php $dateTime = DateTime::createFromFormat('!m', $emp->salary_month); $mont = $dateTime->format('F'); @endphp

Date of Joining: {{ \Carbon\Carbon::parse($emp->joining_date)->format('Y-m-d') ?? '-' }}

Pay Period: {{ $mont }}, {{ $emp->salary_year }}

Employee Name: {{ $emp->emp_name ?? '-' }}

Employee ID: {{ $emp->empID ?? '-' }}

Designation: {{ $emp->designation ?? '-' }}

Department: {{ $emp->department_name ?? '-' }}

Bonus slip

Bonus Type Amount
@php $bonusType = ''; if ($emp->bonus_id == 2) { $bonusType = 'Eid Ul Adha'; } elseif ($emp->bonus_id == 1) { $bonusType = 'Eid Ul Fitr'; } else { $bonusType = 'Encourage Bonus'; } @endphp {{ $bonusType }} Total {{ $emp->payable_net_amt ?? 0 }}
In words: {{ Helper::numberToText($emp->payable_net_amt)}}
Received By
Prepared By
Cheaked By
Manager