@if ($action->type == App\Enums\TrackingActionTypeEnum::ATTACHMENTS->name)
@if ($params = json_decode("{$action->params}", true))
{{ $params['user']['name'] }} {{ \App\Enums\TrackingActionTypeEnum::ATTACHMENTS->name }}

@lang('translation.'.$action->type)

@foreach ($params['attachments'] as $attachedItem)
@endforeach
{{ $action->created_at }}
@endif
@endif