{{-- @if(!$toOtherStaffs) @endif --}}

Dear {{ ucwords(strtok($name, " ")) }},

As part of @if($toOtherStaffs) the @else your @endif ongoing performance assessment, @if($toOtherStaffs) we are pleased to share the results for {{ ucwords(strtok($employeeName, " ")) }}. @else We are pleased to share your results. @endif

@if($toOtherStaffs) The @else Your @endif Performance Summary for {{ $month }}/{{ $year }}

Individual Score: {{ $individualTotal }}

Team Score Contribution: {{ $teamContributionTotal }}

Total Score: {{ $total }}

Breakdown of @if($toOtherStaffs) The @else Your @endif Individual Performance.

@if(empty($variables) && empty($teamVariables)) @else @if(!empty($variables)) @foreach($variables as $variable) @endforeach @endif {{-- @if(!empty($teamVariables)) @foreach($teamVariables as $variable) @endforeach @endif --}} @endif
Task Completion @if($toOtherStaffs) @else Your @endif Score

No variable assessed in current month.

{{ str_replace(['[employee-name]', '[his-her]'], [ucwords($employeeName), $gender], $variable['questionVariables']['question_relating_performance_measurement']) }} @php if ($variable['answer'] == 1) { if (isset($variable->questionVariables->yes_calculat) && $variable->questionVariables->yes_calculat == 1) { $sign = ''; } else { $sign = '-'; } } else { if (isset($variable->questionVariables->no_calculat) && $variable->questionVariables->no_calculat == 1) { $sign = ''; } else { $sign = '-'; } } @endphp {{ ($variable['score'] != 0) ? $sign . $variable['score'] : $variable['score'] }}
{{ $variable['questionVariables']['question_relating_performance_measurement'] }} @php if ($variable['answer'] == 1) { if (isset($variable->questionVariables->yes_calculat) && $variable->questionVariables->yes_calculat == 1) { $sign = ''; } else { $sign = '-'; } } else { if (isset($variable->questionVariables->no_calculat) && $variable->questionVariables->no_calculat == 1) { $sign = ''; } else { $sign = '-'; } } @endphp {{ ($variable['score'] != 0) ? $sign . $variable['score'] : $variable['score'] }}
Total {{ $individualTotal }}

@if($toOtherStaffs) The @else Your @endif contributions are highly valued, and we appreciate @if($toOtherStaffs) the @else your @endif dedication. If you have any questions about @if($toOtherStaffs) the @else your @endif performance or would like to discuss areas for growth, please don’t hesitate to reach out to @if($toOtherStaffs) the @else your @endif manager.

Keep up the great work, and continue to strive for maximum points each month!

Kind regards,
{{ isset($company) ? $company->company : app('tenant')['company']?->company }}