@extends('layouts.admin.master') @section('content') @php $can_qrcode_print = auth_can(h_prefix('qrcode_print')); $can_insert = auth_can(h_prefix('insert')); $can_update = auth_can(h_prefix('update')); $can_rumah = auth_can(h_prefix('rumah')); $can_delete = auth_can(h_prefix('delete')); $can_master = auth_can('admin.penduduk.master'); $can_family = auth_can('admin.penduduk.keluarga'); $can_save_another = auth_can('admin.profile.save_another'); $can_excel = auth_can(h_prefix('excel')); $show_actions = $can_master || $can_delete || $can_update || $can_rumah || $can_save_another || $can_qrcode_print; $is_admin = auth() ->user() ->hasRole(config('app.super_admin_role')); @endphp
| No | Foto | Nama | {!! $is_admin ? 'Kontak | ' : '' !!}Alamat Domisili | {!! $show_actions ? 'Aksi | ' : '' !!}
|---|