@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
Data {{ $page_attr['title'] }}
@if ($can_excel) @endif


@if ($is_admin)

@endif

{!! $is_admin ? '' : '' !!} {!! $can_update || $can_save_another ? '' : '' !!}
No Foto NamaKontakNIP Pangkat/GolonganAksi
@endsection @section('stylesheet') @endsection @section('javascript') @php $resource = resource_loader( blade_path: $view, params: [ 'can_qrcode_print' => $can_qrcode_print ? 'true' : 'false', 'can_update' => $can_update ? 'true' : 'false', 'can_save_another' => $can_save_another ? 'true' : 'false', 'is_admin' => $is_admin ? 'true' : 'false', 'page_title' => $page_attr['title'], ], ); @endphp @endsection