@extends('layouts.dashboard') @section('title', 'Data Pekerja | Monitoring Gambut') @section('dashboard_content')
@if(Auth::user()->role == 'Admin' || Auth::user()->role == 'Supervisor') @endif @if($pekerja->count() == null)
Belum Ada Akun Pekerja
@elseif($pekerja->count() != null)
@csrf
@endif @if(session('status'))
{{session('status')}}
@endif
@foreach($pekerja as $data) @if(Auth::user()->role == 'Admin') @elseif(Auth::user()->role == 'Supervisor') @endif @endforeach
@endsection @section('jsExternalAdd') @include('layouts/searchAjax') @endsection