|
|
@ -229,7 +229,7 @@ class ProjectController extends Controller |
|
|
|
$dataBuilder = $this->setUpPayload($payload, 'm_proyek'); |
|
|
|
$dataBuilder = $this->setUpPayload($payload, 'm_proyek'); |
|
|
|
$builder = $dataBuilder['builder']; |
|
|
|
$builder = $dataBuilder['builder']; |
|
|
|
$countBuilder = $dataBuilder['count']; |
|
|
|
$countBuilder = $dataBuilder['count']; |
|
|
|
// $builder->where("selfTable.created_by",$this->currentName); |
|
|
|
$builder->where("selfTable.created_by",$this->currentName); |
|
|
|
$dataGet = $builder->get(); |
|
|
|
$dataGet = $builder->get(); |
|
|
|
$totalRecord = $countBuilder->count(); |
|
|
|
$totalRecord = $countBuilder->count(); |
|
|
|
|
|
|
|
|
|
|
@ -276,7 +276,7 @@ class ProjectController extends Controller |
|
|
|
'updated_at', |
|
|
|
'updated_at', |
|
|
|
'updated_by' |
|
|
|
'updated_by' |
|
|
|
)->orderBy('id', 'desc') |
|
|
|
)->orderBy('id', 'desc') |
|
|
|
// ->where("created_by",$this->currentName) |
|
|
|
->where("created_by",$this->currentName) |
|
|
|
->get(); |
|
|
|
->get(); |
|
|
|
$countData = $data->count(); |
|
|
|
$countData = $data->count(); |
|
|
|
|
|
|
|
|
|
|
|