@extends('master') @section('title', 'Penyerahan PSU Perumahan') @section('header-konten') @include('perumahan.detail.head') @endsection @section('konten')
Penyerahan PSU Perumahan
@php $tambah = explode(',', Auth::user()->role->tambah); @endphp @if (in_array('32', $tambah))
@endif
@php $ubah = explode(',', Auth::user()->role->ubah); $hapus = explode(',', Auth::user()->role->hapus); @endphp {{-- @if (in_array('32', $ubah) | in_array('32', $hapus)) --}} {{-- @endif --}} @php $i = 1; @endphp @foreach ($dataSerah as $dt) @php $i++; @endphp @endforeach
No Nomor Surat Tempat & Tanggal Lahir Nama Pemohon PSU Status SerahAksi
{{ $i }} {{ $dt->no_surat }} {{ $dt->ttl }} {{ $dt->nama_pemohon }} {{ $dt->my_psu->jenis_psu }}-{{ $dt->my_psu->detail_psu }} @if ($dt->my_psu->status_serah == 'Belum') {{ $dt->my_psu->status_serah }} @elseif ($dt->my_psu->status_serah == 'Proses') {{ $dt->my_psu->status_serah }} @elseif ($dt->my_psu->status_serah == 'Telah Diserahkan') {{ $dt->my_psu->status_serah }} @else {{ $dt->my_psu->status_serah }} @endif
@endsection @section('modal') @php $tambah = explode(',', Auth::user()->role->tambah); $ubah = explode(',', Auth::user()->role->ubah); $hapus = explode(',', Auth::user()->role->hapus); @endphp @if (in_array('32', $tambah)) @endif @if (in_array('32', $ubah)) @endif @if (in_array('32', $hapus)) @endif @endsection @section('script') @include('my_components.alertToast') @endsection