@component('mail::message') {{ $email_data['recipient_first_name'] }},

{{ $email_data['user_first_name'] }} {{ $email_data['user_last_name']}} has {{ $email_data['label'] }} some paid time off: @component('mail::table')
@php $label = null; @endphp @if ($email_data['personal_time'] == 1) @php $label = 'Personal'; @endphp @endif @if ($email_data['vacation_time'] == 1) @php $label = 'Vacation'; @endphp @endif

{{ $label }}

Type

{{ $email_data['hours'] }} hours

Hours

{{ $email_data['started_at'] }}

Started At

{{ $email_data['ended_at'] }}

Ended At
{{ $email_data['description'] }}
Here are {{ $email_data['user_first_name'] }} {{ $email_data['user_last_name']}}'s year to date totals:

{{ $email_data['available_personal_time'] }} hours

Available Personal Time

{{ $email_data['used_personal_time'] }} hours

Used Personal Time

{{ $email_data['available_vacation_time'] }} hours

Available Vacation Time

{{ $email_data['used_vacation_time'] }} hours

Used Vacation Time
@endcomponent Thanks,
{{ config('app.name') }} @endcomponent