@extends('pemerintah.main') @section('content')
Profile Picture

{{ $user->full_name }}

{{ ucfirst($user->role) }}

Detail Profil

  • NIK: {{ $user->nik }}
  • Tanggal Lahir: {{ $user->birthdate }}
  • Alamat: {{ $user->address }}
  • Email: {{ $user->email }}
  • Telepon: {{ $user->phone_number }}
  • @if ($user->role == 'pemerintah')
  • Instansi: {{ $detail->institution_name }}
  • @elseif($user->role == 'umkm')
  • Nama UMKM: {{ $detail->umkm_name }}
  • Tanggal Berdiri: {{ $detail->establishment_date_umkm }}
  • {{--
  • Description: {{ $detail->description_umkm }}
  • --}}
  • Nomor SIUP: {{ $detail->siup_number_umkm }}
  • Produk: {{ $detail->product }}
  • Laporan Keuangan: Download
  • Kategori Pendapatan UMKM: {{ $detail->profit_umkm }}
  • @elseif($user->role == 'investor') @php $detail = $user->investorDetails; @endphp @if ($detail->category === 'personal' && $detail->personalDetails) @php $personalDetail = $detail->personalDetails; @endphp
  • Nomor NPWP: {{ $personalDetail->npwp_number_inves_personal }}
  • Pekerjaan: {{ $personalDetail->job }}
  • Total Assets: {{ number_format($personalDetail->total_assets, 2, ',', '.') }}
  • Profit: {{ number_format($personalDetail->profit_inves_personal, 2, ',', '.') }}
  • @elseif ($detail->category === 'perusahaan' && $detail->perusahaanDetails) @php $perusahaanDetail = $detail->perusahaanDetails; @endphp
  • Nama Perusahaan: {{ $perusahaanDetail->company_name }}
  • {{--
  • Description: {{ $perusahaanDetail->description_inves_perusahaan }}
  • --}}
  • Tanggal Berdiri: {{ $perusahaanDetail->establishment_date_inves_perusahaan }}
  • Nomor SIUP: {{ $perusahaanDetail->siup_number_inves_perusahaan }}
  • Nomor NIB: {{ $perusahaanDetail->nib_number }}
  • Nomor NPWP: {{ $perusahaanDetail->npwp_number_inves_perusahaan }}
  • Profit: {{ number_format($perusahaanDetail->profit_inves_perusahaan, 2, ',', '.') }}
  • @else
  • No details available for this investor.
  • @endif @elseif($user->role == 'akademisi')
  • Nama Perguruan Tinggi: {{ $detail->university_name }}
  • Fakultas: {{ $detail->faculty }}
  • Bidang Keahlian: {{ $detail->expertise_field }}
  • @elseif($user->role == 'komunitas')
  • Nama Komunitas: {{ $detail->community_name }}
  • Nomor Lisensi: {{ $detail->community_license }}
  • @endif
Edit Profile

Tentang

    @if ($user->role == 'pemerintah')
  • {{ $detail->description_pemerintah }}
  • @elseif ($user->role == 'akademisi')
  • {{ $detail->description_akademisi }}
  • @elseif ($user->role == 'komunitas')
  • {{ $detail->description_komunitas }}
  • @elseif ($user->role == 'umkm')
  • {{ $detail->description_umkm }}
  • @elseif ($user->role == 'investor') @if ($detail->category === 'perusahaan' && $detail->perusahaanDetails) @php $perusahaanDetail = $detail->perusahaanDetails; @endphp @else
  • Tidak ada rincian untuk investor ini.
  • @endif @else
  • Deskripsi tidak tersedia untuk peran ini.
  • @endif
{{--

Preferences

@csrf
@foreach (['Aplikasi dan permainan', 'Arsitektur', 'Desain', 'Film, video, dan animasi', 'Fotografi', 'Kriya', 'Kuliner', 'Mode', 'Musik', 'Penerbitan', 'Periklanan', 'Permainan rakyat', 'Radio dan televisi', 'Riset dan pengembangan', 'Seni pertunjukan', 'Seni rupa', 'Software'] as $bidang)
bidang_sub_sektor_ekonomi_kreatif)) ? 'checked' : '' }}>
@endforeach
@foreach (['Pelatihan', 'Pendanaan'] as $kategori)
kategori)) ? 'checked' : '' }}>
@endforeach
-
@foreach (['Coming Soon', 'Berjalan', 'Selesai'] as $status)
status)) ? 'checked' : '' }}>
@endforeach
--}} {{--

Preferences

@csrf
@foreach (['Aplikasi dan permainan', 'Arsitektur', 'Desain', 'Film, video, dan animasi', 'Fotografi', 'Kriya', 'Kuliner', 'Mode', 'Musik', 'Penerbitan', 'Periklanan', 'Permainan rakyat', 'Radio dan televisi', 'Riset dan pengembangan', 'Seni pertunjukan', 'Seni rupa', 'Software'] as $bidang)
bidang_sub_sektor_ekonomi_kreatif)) && in_array($bidang, json_decode($preferences->bidang_sub_sektor_ekonomi_kreatif)) ? 'checked' : '' }}>
@endforeach
@if (auth()->user()->role == 'pemerintah') @foreach (['Pelatihan', 'Pendanaan'] as $kategori)
kategori)) && in_array($kategori, json_decode($preferences->kategori)) ? 'checked' : '' }}>
@endforeach @elseif (in_array(auth()->user()->role, ['investor', 'umkm', 'akademisi', 'komunitas'])) @foreach (['Pelatihan', 'Pendanaan', 'Riset'] as $kategori)
kategori)) && in_array($kategori, json_decode($preferences->kategori)) ? 'checked' : '' }}>
@endforeach @endif
@if (auth()->user()->role == 'pemerintah' || auth()->user()->role == 'investor')
-
@endif
@foreach (['Coming Soon', 'Berjalan', 'Selesai'] as $status)
status)) && in_array($status, json_decode($preferences->status)) ? 'checked' : '' }}>
@endforeach
--}}

Preferensi

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@if (auth()->user()->role == 'umkm' || auth()->user()->role == 'komunitas')
@endif
@if (auth()->user()->role == 'pemerintah' || auth()->user()->role == 'investor')
@endif @if (auth()->user()->role == 'pemerintah' || auth()->user()->role == 'investor')
@endif
@foreach (['Aplikasi dan permainan', 'Arsitektur', 'Desain', 'Film, video, dan animasi', 'Fotografi', 'Kriya', 'Kuliner', 'Mode', 'Musik', 'Penerbitan', 'Periklanan', 'Permainan rakyat', 'Radio dan televisi', 'Riset dan pengembangan', 'Seni pertunjukan', 'Seni rupa', 'Software'] as $bidang)
bidang_sub_sektor_ekonomi_kreatif)) && in_array($bidang, json_decode($preferences->bidang_sub_sektor_ekonomi_kreatif)) ? 'checked' : '' }}>
@endforeach
@if (auth()->user()->role == 'pemerintah') @foreach (['Pelatihan', 'Pendanaan'] as $kategori)
kategori)) && in_array($kategori, json_decode($preferences->kategori)) ? 'checked' : '' }}>
@endforeach @elseif (in_array(auth()->user()->role, ['investor', 'umkm', 'akademisi', 'komunitas'])) @foreach (['Pelatihan', 'Pendanaan', 'Riset'] as $kategori)
kategori)) && in_array($kategori, json_decode($preferences->kategori)) ? 'checked' : '' }}>
@endforeach @endif
{{--
--}}
-
@foreach (['Coming Soon', 'Berjalan', 'Selesai'] as $status)
status)) && in_array($status, json_decode($preferences->status)) ? 'checked' : '' }}>
@endforeach
@if (auth()->user()->role == 'umkm' || auth()->user()->role == 'komunitas')
@endif
@if (auth()->user()->role == 'pemerintah' || auth()->user()->role == 'investor')
@endif @if (auth()->user()->role == 'pemerintah' || auth()->user()->role == 'investor')
@endif
{{-- --}}
@endsection