@component('mail::message') # Company leave declared @if ($recipientName !== '') Hello **{{ $recipientName }}**, @else Hello, @endif The company has declared a paid leave: | | | |-|-| | **Leave** | {{ $leave->name }} | | **Dates** | {{ $leave->startDate() }}@if ($leave->endDate() !== $leave->startDate()) → {{ $leave->endDate() }} @endif | | **Total days** | {{ $leave->dayCount() }} | @if ($leave->is_recurring_yearly) | **Repeats** | Every year | @endif @if ($leave->description) {{ $leave->description }} @endif Office is closed on these days — they are **paid holidays**. If you work on a declared leave day, those hours are compensated as **overtime** at your applied overtime rate in that month's payroll. {{ config('app.name', 'ERP') }} — automated notification @endcomponent