@extends('layout.main') @section('title', 'Daftar Pegawai') @section('prev-page') Home @endsection @section('content')
Daftar Pegawai
@csrf
@forelse($employees as $employee) @empty @endforelse
Nama Email No. HP Alamat Jabatan Tanggal Bergabung Status
{{ $employee->name }} {{ $employee->email }} {{ $employee->mobile_phone }} @if (empty($employee->address)) {{ '-' }} @else {{ mb_strimwidth(strip_tags($employee->address), 0, 30, '...') }} @endif {{ $employee->position }} {{ date_format(date_create($employee->joined), 'd M Y H:i:s') }} {{ $employee->status->name }}
Belum ada data.
@if (!empty($metadata->links)) @endif
@endsection @section('other-scripts') @endsection