⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.142
Server IP:
217.76.53.76
Server:
Linux vmi1397931.contaboserver.net 5.4.0-105-generic #119-Ubuntu SMP Mon Mar 7 18:49:24 UTC 2022 x86_64
Server Software:
Apache
PHP Version:
8.2.27
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
test2.webi.com.ng
/
app
/
Models
/
View File Name :
LeadActivityLog.php
hasOne('App\Models\User', 'id', 'user_id'); } public function getLeadRemark() { $remark = json_decode($this->remark, true); if($remark) { // if($this->user_id == null) // { $user = $this->user; // $this->user_id = $user->id; // } if($user) { $user_name = $user->name; } else { $user_name = ''; } if($this->log_type == 'Upload File') { return $user_name . ' ' . __('Upload new file') . '
' . $remark['file_name'] . '
'; } elseif($this->log_type == 'Add Product') { return $user_name . ' ' . __('Add new Products') . "
" . $remark['title'] . "
"; } elseif($this->log_type == 'Update Sources') { return $user_name . ' ' . __('Update Sources'); } elseif($this->log_type == 'Create Lead Call') { return $user_name . ' ' . __('Create new Lead Call'); } elseif($this->log_type == 'Create Lead Email') { return $user_name . ' ' . __('Create new Lead Email'); } elseif($this->log_type == 'Move') { return $user_name . " " . __('Moved the lead') . "
" . $remark['title'] . "
" . __('from') . " " . __(ucwords(!empty($remark['old_status']) ? $remark['old_status'] : '')) . " " . __('to') . " " . __(ucwords($remark['new_status'])); } elseif($this->log_type == 'Add user') { return $user_name . " ". __('New User '.$remark['title'] .' Added to Lead. ') ; } elseif($this->log_type == 'Add Discussion') { return $user_name . ' ' . __('Create new Discussion'); } elseif($this->log_type == 'Add Notes') { return $user_name . ' ' . __('Create new Notes'); } } else { return $this->remark; } } }