@extends('layouts.admin.master') @section('content') @php $can_insert = auth_can(h_prefix('insert')); $can_update = auth_can(h_prefix('update')); $can_delete = auth_can(h_prefix('delete')); $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 | ' : '' !!}Tgl. Lahir | {!! $can_delete || $can_update || $can_save_another ? 'Aksi | ' : '' !!}
|---|