$call->getRouteKey(), 'key' => [ 'public' => $call->getPublicKey(), 'route' => $call->getRouteKey(), ], 'parent_id' => $call->parent_id, 'parent_type' => $call->parent_type, 'name' => $call->name, 'slug' => $call->slug, 'date_start' => $call->date_start, 'date_end' => $call->date_end, 'direction' => $call->direction, 'description' => $call->description, 'hot' => $call->hot, 'called_on' => $call->called_on, 'duration' => $call->duration, 'substatus' => $call->substatus, 'notes' => $call->notes, 'audio' => $call->audio, 'assigned_to' => $call->assigned_to, 'user_id' => $call->user_id, 'user_type' => $call->user_type, 'deleted_at' => $call->deleted_at, 'url' => [ 'public' => trans_url('activities/'.$call->getPublicKey()), 'user' => guard_url('activities/call/'.$call->getRouteKey()), ], 'status' => trans('app.'.$call->status), 'created_at' => format_date($call->created_at), 'updated_at' => format_date($call->updated_at), ]; } }