Línea 1705... |
Línea 1705... |
1705 |
'unique' => uniqid(),
|
1705 |
'unique' => uniqid(),
|
1706 |
'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
|
1706 |
'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
|
1707 |
'user_name' => $user->first_name . ' ' . $user->last_name,
|
1707 |
'user_name' => $user->first_name . ' ' . $user->last_name,
|
1708 |
/* Aqui es Anderson */
|
1708 |
/* Aqui es Anderson */
|
1709 |
'company' => $company->name,
|
1709 |
'company' => $company->name,
|
1710 |
'user_image' => $this->url()->fromRoute('storage', ['type' => 'company', 'code' => $company->uuid, 'filename' => $company->image]),
|
- |
|
1711 |
'time_elapsed' => Functions::timeAgo($record->added_on, $now),
|
- |
|
1712 |
'comment' => $record->comment,
|
- |
|
1713 |
'link_delete' => $link_delete
|
- |
|
1714 |
]);
|
- |
|
1715 |
} else {
|
- |
|
1716 |
array_push($comments, [
|
- |
|
1717 |
'unique' => uniqid(),
|
- |
|
1718 |
'user_url' => $this->url()->fromRoute('profile/view', ['id' => $user->uuid]),
|
- |
|
1719 |
'user_name' => $user->first_name . ' ' . $user->last_name,
|
- |
|
1720 |
/* Aqui es Anderson */
|
- |
|
1721 |
//'company' => $company->name,
|
- |
|
1722 |
'user_image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]),
|
1710 |
'user_image' => $this->url()->fromRoute('storage', ['type' => 'user', 'code' => $user->uuid, 'filename' => $user->image]),
|
1723 |
'time_elapsed' => Functions::timeAgo($record->added_on, $now),
|
1711 |
'time_elapsed' => Functions::timeAgo($record->added_on, $now),
|
1724 |
'comment' => $record->comment,
|
1712 |
'comment' => $record->comment,
|
1725 |
'link_delete' => $link_delete
|
1713 |
'link_delete' => $link_delete
|
1726 |
]);
|
1714 |
]);
|