@extends('layouts.admin.master') @section('content') @php $can_qrcode_print = auth_can(h_prefix('qrcode_print')); $can_update = auth_can(h_prefix('update')); $can_save_another = auth_can('admin.profile.save_another'); $can_excel = auth_can(h_prefix('excel')); $is_admin = auth() ->user() ->hasRole(config('app.super_admin_role')); @endphp
| No | Foto | Nama | {!! $is_admin ? 'Kontak | ' : '' !!}NIP | Pangkat/Golongan | {!! $can_update || $can_save_another ? 'Aksi | ' : '' !!}
|---|