@extends('master') @section('title', 'PSU Perumahan') @section('header-konten') @include('perumahan.detail.head') @endsection @section('konten')
PSU Perumahan
@php $tambah = explode(',', Auth::user()->role->tambah); @endphp @if (in_array('26', $tambah)) @endif
@php $ubah = explode(',', Auth::user()->role->ubah); $hapus = explode(',', Auth::user()->role->hapus); @endphp @if (in_array('26', $ubah) | in_array('26', $hapus)) @endif @php $i = 1; @endphp @foreach ($psu as $ps) @if (in_array('26', $ubah) | in_array('26', $hapus)) @endif @php $i++; @endphp @endforeach
No Jenis PSU Detail PSU Luasan PSU Status SerahAksi
{{ $i }} {{ $ps->jenis_psu }} {{ $ps->detail_psu }} {{ $ps->jumlah_psu }} @if ($ps->status_serah == 'Belum') {{ $ps->status_serah }} @elseif ($ps->status_serah == 'Proses') {{ $ps->status_serah }} @elseif ($ps->status_serah == 'Telah Diserahkan') {{ $ps->status_serah }} @else {{ $ps->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('26', $tambah)) @endif @if (in_array('26', $ubah)) @endif @if (in_array('26', $hapus)) @endif @endsection @section('script') @include('my_components.alertToast') @endsection