@if (count(@$data['show']->original['data']['tardyRules']) > 0) @foreach (@$data['show']->original['data']['tardyRules'] as $key => $row) @endforeach @else @endif
{{ _trans('common.SL') }} {{ _trans('common.Title') }} {{ _trans('common.Type') }} {{ _trans('common.Threshold Minutes') }} {{ _trans('common.Threshold Days') }} {{ _trans('common.Deduction Days') }} {{ _trans('common.Description') }}
{{ ++$key }} {{ $row->tardyRule->title }} @php $className = 'success'; if (@$row->tardyRule->type == 'checkout') { $className = 'danger'; } if (@$row->tardyRule->type == 'break') { $className = 'warning'; } @endphp {{ ucfirst(@$row->tardyRule->type) }} {{ @$row->tardyRule->threshold_minutes }} {{ @$row->tardyRule->threshold_days }} {{ @$row->tardyRule->deduction_days }} {{ @$row->tardyRule->description }}