@extends('master') @section('title', 'Pengembang Perumahan') @section('header-konten') @include('perumahan.detail.head') @endsection @section('konten')
Detail Perusahaan
@php $tambah = explode(',', Auth::user()->role->tambah); $ubah = explode(',', Auth::user()->role->ubah); $hapus = explode(',', Auth::user()->role->hapus); @endphp {{-- @if (in_array('27', $ubah))
@endif --}}
@if (in_array('27', $ubah))
@csrf
{{--
m2
m2
--}}
@php $jum = $data->luas_peng->count(); @endphp @for ($i = 1; $i < $jum; $i++)
@endfor
m2
unit
unit
@else
@csrf
m2
m2
m2
unit
unit
@endif
PSU
@if (in_array('27', $ubah))
@csrf
m2
m2
m2
m2
m2
m2
m2
m2
m2
m2
@else
@csrf
m2
m2
m2
m2
m2
m2
m2
m2
m2
m2
@endif
Pembangunan Unit
@if (in_array('27', $tambah))
@endif
@if (in_array('27', $ubah) | in_array('27', $hapus)) @endif @php $i = 1; @endphp @foreach ($pemb as $p) @if (in_array('27', $ubah) | in_array('27', $hapus)) @endif @php $i++; @endphp @endforeach
No Tahun Nama/Jenis Subsidi Jumlah Unit Non Subsidi Jumlah Unit SubsidiAksi
{{ $i }} {{ $p->tahun_pembangunan }} {{ $p->unit_non_subsidi }} unit {{ $p->unit_subsidi }} unit {{ $p->jenis_subsidi }}
Data Dokumen
@if (in_array('27', $tambah))
@endif
@if (in_array('27', $ubah) | in_array('27', $hapus)) @endif @php $i = 1; @endphp @foreach ($doks as $d) @if (in_array('27', $ubah) | in_array('27', $hapus)) @endif @php $i++; @endphp @endforeach
No Nama Dokumen Status UploadAksi
{{ $i }} {{ $d->nama_dokumen }} @if ($d->file_dokumen != null) Terupload @else Belum Terupload @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('27', $tambah)) @endif @if (in_array('27', $ubah)) @endif @if (in_array('27', $hapus)) @endif @endsection @section('script') @include('my_components.alertToast') @endsection