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

{{ ucwords($employeeName) }} has fallen behind in performance scoring. The minimum points that had to be achieved was {{ $minimumScore }} and the total points scored was {{ $total }}.

@forelse($variables as $variable) @empty @endforelse
Task Completion Score
{{ 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'] }}

No variable assessed in current month.

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