@php $rand = 0; @endphp @if(isset($employee->employee_hounourrewards) && count($employee->employee_hounourrewards) > 0) @foreach($employee->employee_hounourrewards as $employee_hounourrewards) @php $rand++; @endphp