@extends('master') @section('title', 'RTLH') @section('header-konten')
@endsection @section('konten')No | Nama | Kecamatan | Desa | Dusun | Alamat | X | Y | Keterangan | Ukuran | @php $ubah = explode(',', Auth::user()->role->ubah); $hapus = explode(',', Auth::user()->role->hapus); @endphp @if (in_array('21', $ubah) | in_array('21', $hapus))Aksi | @endif
---|---|---|---|---|---|---|---|---|---|---|
{{ $i }} | {{ $dt->nama }} | {{ $dt->kecamatan->nama_kecamatan ?? '' }} | {{ $dt->desa->nama_desa ?? '' }} | {{ $dt->dusun }} | {{ $dt->alamat }} | {{ $dt->x }} | {{ $dt->y }} | {{ $dt->keterangan }} | {{ $dt->ukuran }} | @if (in_array('21', $ubah) | in_array('21', $hapus))@endif |