@php use App\Services\StaffSignatureSealService; $sigSealService = app(StaffSignatureSealService::class); $signatureUrl = $sigSealService->signatureUrl($staff); $sealUrl = $sigSealService->sealUrl($staff); $sigW = min(\App\Support\EmployeeSignatureSealFeature::signatureWidth(), 120); $sigH = min(\App\Support\EmployeeSignatureSealFeature::signatureHeight(), 70); $sealW = min(\App\Support\EmployeeSignatureSealFeature::sealWidth(), 90); $sealH = min(\App\Support\EmployeeSignatureSealFeature::sealHeight(), 90); $securityTotal = (float) $settlement->security_amount; $gpf = (float) $settlement->gpf_amount; $cpf = (float) $settlement->cpf_amount; $gf = (float) $settlement->gf_amount; $leave = (float) $settlement->leave_salary_amount; $total = (float) $settlement->total_amount; // নমুনা-১৭/১ list uses security+gpf+cpf+gratuity+leave (exclude SWF from letter list if 0 in sample) $letterTotal = app_round($securityTotal + $gpf + $cpf + $gf + $leave, 2); $amountWords = function_exists('Inwords') ? Inwords((int) app_round($letterTotal)).' Taka Only' : number_format($letterTotal, 2); $money = fn ($v) => ((float) $v) == 0.0 ? '' : number_format((float) $v, 2); $father = $staff->father_name ?? ''; $addr = $address ?? []; $orgAddr = $organizationAddress ?? ''; @endphp
@if (session('message'))
{{ session('message') }}
@endif কর্মী পাওনা তথ্য {{ __('Back') }}
নমুনা-১৭/১
বরাবর
নির্বাহী পরিচালক
{{ $organization }}{{ str_contains($organization, 'পিএসকেএস') || str_contains($organization, 'PSKS') ? '' : ' (পিএসকেএস)' }}
{{ $orgAddr !== '' ? $orgAddr : 'গাংনী, মেহেরপুর।' }}
বিষয় ঃ না-দাবী নামা প্রসংগে।

জনাব,

আমি {{ $employee['name'] ?? '' }} পিতা/স্বামীঃ {{ $father !== '' ? $father : '....................' }} গ্রামঃ {{ ($addr['village'] ?? '') !== '' ? $addr['village'] : '....................' }} ডাকঘর ঃ {{ ($addr['post'] ?? '') !== '' ? $addr['post'] : '....................' }} উপজেলাঃ {{ ($addr['upazila'] ?? '') !== '' ? $addr['upazila'] : '....................' }} জেলাঃ {{ ($addr['district'] ?? '') !== '' ? $addr['district'] : '....................' }}। বিগত {{ $employee['joining_date'] ?? '' }} তারিখ হতে {{ $employee['release_date'] ?? '' }} তারিখ পর্যন্ত {{ $employee['department'] ?? ($employee['branch'] ?? '') }} প্রকল্পের {{ $employee['designation'] ?? '' }} পদে উক্ত প্রতিষ্ঠানে কর্মরত ছিলাম। এতদ্দ্বারা নিম্নোক্ত খাতসমূহের জমাকৃত অর্থসহ লাভ বাবদ সর্বমোট টাকা গ্রহণ করিলাম।

(কথায় ঃ {{ $amountWords }})

উপরোক্ত খাতসমূহের জমাকৃত অর্থসহ লাভ বাবদ সর্বমোট টাকা গ্রহণ করিয়াছি। সংস্থার নিকট আমার আর কোনো দাবী নাই। ভবিষ্যতে উক্ত বিষয়ে কোনো দাবী করিলে তাহা আইনতঃ বাতিল বলিয়া গণ্য হইবে। সুস্থ শরীরে ও স্বেচ্ছায় এই না-দাবী নামায় স্বাক্ষর করিলাম।

@if($signatureUrl || $sealUrl)
@if($signatureUrl) @endif @if($sealUrl) @endif
@endif
কর্মকর্তা/কর্মচারীর স্বাক্ষর ঃ ..........................................................
তারিখ ঃ {{ $settlement->settled_at?->format('d.m.Y') ?? '.................................................' }}
@foreach([1, 2, 3] as $w) @php $wName = $settlement->{'witness_'.$w.'_name'}; $wDate = $settlement->{'witness_'.$w.'_date'}; @endphp
স্বাক্ষীর স্বাক্ষর ঃ .........................................................................
নাম ঃ {{ $wName ?: '.........................................................................................' }}
তারিখ ঃ {{ $wDate?->format('d.m.Y') ?: '.....................................................................................' }}
@endforeach