Browse Source

Use only required column hr list

pull/3/head
Wahyu Ramadhan 1 year ago
parent
commit
1e6fe6f123
  1. 2
      app/Http/Controllers/HumanResourceController.php

2
app/Http/Controllers/HumanResourceController.php

@ -112,7 +112,7 @@ class HumanResourceController extends Controller
public function list() public function list()
{ {
$data = HumanResource::all(); $data = HumanResource::select('id', 'name')->get();
$countData = $data->count(); $countData = $data->count();
if($data){ if($data){

Loading…
Cancel
Save