{{-- resources/views/HR/appointment_letter.blade.php --}} @php $r = fn ($t) => strtr((string) $t, $vars); $n = 1; $joining = $staff->doj ? \Carbon\Carbon::parse($staff->doj)->format('j F Y') : ''; $imgs = asset('assets/images'); @endphp Appointment Letter - {{ $staff->name }}
Edit changes apply to this copy only. In the print dialog choose "Save as PDF", set Margins = None and tick Background graphics.
{{-- Header: logo + red line --}}
NovelX Technologies
{{-- Background watermark --}}
Novelx

NOVELEXPLORATION TECHNOLOGIES PVT LTDAPPOINTMENT LETTER

Date: {{ now()->format('j F Y') }}

To,
{{ $staff->name }}
{!! nl2br(e($staff->address ?: $staff->permanent_address)) !!}

Dear {{ $staff->name }},

{{ $r(($master['intro'] ?? null) ?? '') }}

@if(!$masterFound)

No Appointment Master found for role "{{ $staff->designation }}". Create it in Appointment Master.

@endif {{-- 1. Employment details --}}

{{ $n++ }}. Employment Details

Position{{ $staff->designation }}
Department{{ ($master['department'] ?? null) ?? '-' }}
Reporting To{{ ($master['reporting_to'] ?? null) ?: 'HR / Management or such person as may be designated by the Company' }}
Date of Joining{{ $joining }}
Employment Type{{ ($master['employment_type'] ?? null) ?: 'Full-Time' }}
Work Arrangement{{ ($master['work_arrangement'] ?? null) ?: 'Work from Office' }}
Office Hours{{ ($master['office_hours'] ?? null) ?: '9:00 AM to 6:00 PM, Monday to Saturday' }}
Probation Period{{ ($master['probation_period'] ?? null) ?: '3 Months' }}
Work Location{{ ($master['work_location'] ?? null) ?: 'ABS Plaza, First Floor, Eraviputhoor Kadai, Marthandam – 629158' }}
Annual Salary{{ $salaryFormatted }} per annum
{{-- 2..N: sections from Appointment Master --}} @if(!empty($master['content']))
{!! $r($master['content']) !!}
@else @foreach((($master['sections'] ?? null) ?? []) as $sec)

{{ $n++ }}. {{ $r($sec['heading']) }}

@if(!empty($sec['text']))

{!! nl2br(e($r($sec['text']))) !!}

@endif @if(!empty($sec['points']))
    @foreach($sec['points'] as $p)
  • {{ $r($p) }}
  • @endforeach
@endif @endforeach @endif {{-- Acceptance (fixed) --}}

{{ empty($master['content']) ? ($n++) . '. ' : '' }}Acceptance

Please sign and return a copy of this appointment letter as confirmation that you have read, understood and accepted the terms stated herein.

We welcome you to Novelexploration Technologies Pvt Ltd and look forward to your contribution to the Company and its projects.

Best Regards,
HR Department
Novelexploration Technologies Pvt Ltd

ACCEPTANCE BY CANDIDATE

I, {{ $staff->name }}, accept this appointment and agree to the terms and conditions stated in this letter.

Signature: ________________________________
Date: ____________________________________


Authorized Signatory
Novelexploration Technologies Pvt Ltd
{{-- Footer: built with HTML/CSS (bottom of every page when printing) --}}
+91 8754993203 info@novelx.in www.novelx.in
Novelexploration Technologies Private Limited
No. 1/19/A-9, Abs Plaza First Floor, Eraviputhoorkadai,
Marthandam, Kanayakumari Dist- 629158, Tamil Nadu