@extends('layouts.base') @section('content')
Jumlah Pengguna

+ 30.56%

4.87% Since last month

Jumlah Kebun

+ 30.56%

4.87% Since last month

Jumlah Baja

+ 30.56%

4.87% Since last month

Pengguna

+Tambah Pengguna

@foreach ($users as $user) @if ($user->role === 'Tuan_Kebun' || $user->role === 'Pekerja') @endif @endforeach
No. Nama Pengguna Peranan Tindakan
{{ $loop->index + 1 }} {{ $user->name }} @if ($user->job_type == 'Tiada') Tuan Kebun @elseif ($user->job_type == 'Pengait') Pengait @elseif ($user->job_type == 'Pengopek') Pengopek @elseif ($user->job_type == 'Penanam') Penanam @endif
@endsection