@php $title = $data->type == 'employee' ? $data->user->name : $data->category_document; @endphp