@foreach($data as $index => $item) @endforeach
{{ __('general.activity_report.description') }} {{ __('general.activity_report.responsibility') }} {{ __('general.activity_report.summary') }} {{ __('general.activity_report.trigger') }} {{ __('general.activity_report.role') }} {{ __('general.activity_report.problems') }} {{ __('general.activity_report.frequency') }} {{ __('general.activity_report.process_name') }} {{ __('general.activity_report.duration') }} {{ __('general.activity_report.importance') }} {{ __('general.activity_report.status') }} {{ __('general.activity_report.last_modification') }} {{ __('general.activity_report.created_user') }}
{{ $index += 1 }} {{ $item['description'] }} {{ $item->role_responsibility ? $item->role_responsibility->name : '' }} {{ $item['summary'] }} {{ $item['trigger'] }} {{ $item->role ? $item->role->name : '' }} {{ $item['problems'] }} {{ $item['frequency'] ? __('general.report_role.frequency_type.' . $item['frequency']) : '' }} {{ $item['process_name'] }} {{ $item['duration'] . ' ' . __('general.unities.Minute') }} {{ $item['importance'] ? __('general.importance_types.' . $item['importance']) : '' }} {{ __('general.activity_statuses.' . $item['status']) }} {{ $item['updated_at']->isoFormat('D MMM Y') }} {{ $item->created_user ? ($item->created_user->first_name . ' ' . $item->created_user->last_name) : '' }}