update
parent
6541e72310
commit
4e85d96b83
|
|
@ -59,12 +59,15 @@ class UserController extends Controller
|
||||||
}
|
}
|
||||||
$action .= '</div>';
|
$action .= '</div>';
|
||||||
}
|
}
|
||||||
|
$role = '';
|
||||||
|
$role .= 'Role & Hak Akses : '.@$row->group->name.'<br>';
|
||||||
|
$role .= 'Instansi : '.@$instansi->name;
|
||||||
|
|
||||||
$_data[] = [
|
$_data[] = [
|
||||||
'no' => $key+1,
|
'no' => $key+1,
|
||||||
'id' => encode_id($row->id),
|
'id' => encode_id($row->id),
|
||||||
'name' => @$row->name,
|
'name' => @$row->name,
|
||||||
'role' => @$row->group->name,
|
'role' => @$role,
|
||||||
'username' => @$row->username,
|
'username' => @$row->username,
|
||||||
'instansi' => @$instansi->name,
|
'instansi' => @$instansi->name,
|
||||||
'email' => @$row->email,
|
'email' => @$row->email,
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,8 @@
|
||||||
<tr class="gridjs-tr bg-primary-light">
|
<tr class="gridjs-tr bg-primary-light">
|
||||||
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-width="10" data-field="action">#</th>
|
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-width="10" data-field="action">#</th>
|
||||||
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-width="10" data-field="no">No</th>
|
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-width="10" data-field="no">No</th>
|
||||||
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-field="role">Role</th>
|
|
||||||
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-field="instansi">Instansi</th>
|
|
||||||
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-field="email">Email</th>
|
|
||||||
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-field="name">Name</th>
|
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-field="name">Name</th>
|
||||||
|
<th class="gridjs-td gridjs-th text-sm text-gray-500" data-field="role">Role</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="gridjs-tbody"></tbody>
|
<tbody class="gridjs-tbody"></tbody>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue