@push('css') @endpush
@foreach ($studentBehaviourRecords as $data) @endforeach
@lang('behaviourRecords.title') @lang('behaviourRecords.point') @lang('behaviourRecords.date') @lang('behaviourRecords.description') @lang('behaviourRecords.assigned_by') @lang('behaviourRecords.actions')
{{ $data->incident->title }} {{ $data->incident->point }} {{ dateconvert($data->incident->created_at) }} {{ $data->incident->description }} {{ $data->user->full_name }} @if (auth()->user()->role_id == 1) @lang('behaviourRecords.comment') @elseif (auth()->user()->role_id == 2) @if ($behaviourRecordSetting->student_comment == 1) @lang('behaviourRecords.comment') @endif @else @if ($behaviourRecordSetting->parent_comment == 1) @lang('behaviourRecords.comment') @endif @endif