|
|
@ -44,9 +44,8 @@ class Controller extends BaseController |
|
|
|
$userProyek = UserToProyek::from('assign_hr_to_proyek AS ' . $alias); |
|
|
|
$userProyek = UserToProyek::from('assign_hr_to_proyek AS ' . $alias); |
|
|
|
$userProyek = $userProyek->where([ |
|
|
|
$userProyek = $userProyek->where([ |
|
|
|
['is_customer', true], |
|
|
|
['is_customer', true], |
|
|
|
// $condition['user_id']['user_id'] |
|
|
|
['user_id', $condition['user_id']['user_id']] |
|
|
|
['user_id', 1561] |
|
|
|
])->select('m_proyek.*', 'm_type_proyek.name AS join_second_name'); |
|
|
|
])->select('m_proyek.*', 'm_type_proyek.name AS nama_type_proyek'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (isset($condition['joins'])) { |
|
|
|
if (isset($condition['joins'])) { |
|
|
|
$no = 0; |
|
|
|
$no = 0; |
|
|
|