SISTEKDES
St
    {{--
  • Dashboard
  • Dashboard
    • General Dashboard
    • Ecommerce Dashboard
  • --}}
  • Main Navigation
  • Home
  • Profil
      @if (Auth::user()->role == 1 || Auth::user()->role == 2)
    • Identitas Kecamatan
    • @endif
    • Desa
    • @if (Auth::user()->role == 1 || Auth::user()->role == 3)
    • Pemerintah Desa
    • @endif
  • Fitur Penduduk
    • Data Penduduk
    • Info Penduduk
  • Layanan Surat
  • @if (Auth::user()->role == 1)
  • Surat Masuk
  • Daftar Surat
      @php $jenis_surat = App\Models\JenisSurat::orderBy("priority","asc")->get(); @endphp @foreach ($jenis_surat as $item) @php $nama_surat_before = str_replace('Surat', '', $item->jenis_surat); $nama_surat = str_replace('Keterangan', 'Ket.', $nama_surat_before); @endphp
    • {{ $nama_surat }}
    • @endforeach
  • @endif @if (Auth::user()->role == 3)
  • Surat Masuk
  • Daftar Surat
      @php $surat_desa = App\Models\FormatSurat::where('desa_id', Auth::user()->desa_id)->pluck('jenis_surat_id'); $jenis_surat = App\Models\JenisSurat::whereIn('id', $surat_desa)->orderBy('priority', 'ASC')->get(); @endphp @foreach ($jenis_surat as $item) @php $nama_surat_before = str_replace('Surat', '', $item->jenis_surat); $nama_surat = str_replace('Keterangan', 'Ket.', $nama_surat_before); @endphp
    • {{ $nama_surat }}
    • @endforeach
  • @endif @if (Auth::user()->role == 2 || Auth::user()->role == 1)
  • Arsip Surat Desa
      @php $arsip_desa = App\Models\Desa::get(); @endphp @foreach ($arsip_desa as $item)
    • {{ $item->nama_desa }}
    • @endforeach
  • @endif @if (Auth::user()->role == 3 || Auth::user()->role == 1)
  • Website
  • Profil Desa
  • Pengaturan
  • Lembaga
  • @endif
  • Berita
  • Teknologi Desa
  • {{--
  • PBB
  • E-UMKM
  • --}}
  • User
  • User
  • {{--
  • Starter
  • Layout
    • Default Layout
    • Transparent Sidebar
    • Top Navigation
  • Blank Page
  • Bootstrap
    • Alert
    • Badge
    • Breadcrumb
    • Buttons
    • Card
    • Carousel
    • Collapse
    • Dropdown
    • Form
    • List Group
    • Media Object
    • Modal
    • Nav
    • Navbar
    • Pagination
    • Popover
    • Progress
    • Table
    • Tooltip
    • Typography
  • Stisla
  • Components
    • Article
    • Avatar
    • Chat Box
    • Empty State
    • Gallery
    • Hero
    • Multiple Upload
    • Pricing
    • Statistic
    • Tab
    • Table
    • User
    • Wizard
  • Forms
    • Advanced Form
    • Editor
    • Validation
  • Google Maps
    • Advanced Route
    • Draggable Marker
    • Geocoding
    • Geolocation
    • Marker
    • Multiple Marker
    • Route
    • Simple
  • Modules
    • Calendar
    • ChartJS
    • DataTables
    • Flag
    • Font Awesome
    • Ion Icons
    • Owl Carousel
    • Sparkline
    • Sweet Alert
    • Toastr
    • Vector Map
    • Weather Icon
  • Pages
  • Auth
    • Forgot Password
    • Login
    • Login 2
    • Register
    • Reset Password
  • Errors
    • 403
    • 404
    • 500
    • 503
  • Features
    • Activities
    • Post Create
    • Posts
    • Profile
    • Settings
    • Setting Detail
    • Tickets
  • Utilities
    • Contact
    • Invoice
    • Subscribe
  • Credits
--}} @if (Auth::user()->role == 3) @php $desa = App\Models\Desa::where('id', Auth::user()->desa_id)->first(); @endphp
Website Desa
@endif