@php $offerTypes = ['ppo', 'job-offered', 'intern-offered']; $isOffer = in_array($mailType, $offerTypes); @endphp
@if($campusLightLogo) @endif

{{ $heading }}

{{ $campusName }}
Career Services Department
Dear {{ $placement->student->studentName }},
@if($mailType == 'ppo')
{!! $mailMessage !!}
@endif
{{ $isOffer ? 'Offer Details' : 'Status Details' }}
@if($isOffer) @if(!blank($placement->profile_name)) @endif @if(!blank($placement->location_name)) @endif @if($placement->offered_ctc) @endif @if($placement->stipend) @endif @else @endif @if(!blank($placement->description)) @endif
Company {{ $placement->company_name }}
Profile {{ $placement->profile_name }}
Location {{ $placement->location_name }}
CTC ₹ {{ number_format($placement->offered_ctc,2) }} LPA
Stipend ₹ {{ number_format($placement->stipend,2) }}
Status {{ ucwords(str_replace('-', ' ', $mailType)) }}
Remarks {{ $placement->description }}
@if($mailType == 'ppo')
Congratulations!

We are pleased to inform you that you have received a Pre-Placement Offer (PPO).

The Career Services Department congratulates you on this outstanding achievement and wishes you continued success in your professional journey.
@elseif($mailType == 'job-offered')
Congratulations!

We are delighted to inform you that you have received a Job Offer.

Please review the offer details above and log in to the Placement Management System for any further updates.
@elseif($mailType == 'intern-offered')
Congratulations!

You have been selected for an Internship Opportunity.

We wish you a rewarding learning experience and continued success in your career.
@else
Placement Status Updated
@if(!blank($placement->description))
Please refer to the remarks above for additional information. @endif
For any clarification, please contact the Career Services Department.
@endif
Regards,
Career Services Department
{{ $campusName }}