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