@extends('layouts.app')
@section('site-name','Sistem Informasi SPP')
@section('page-name','Pengguna')
@section('content')
@if(session()->has('msg'))
@if(session()->get('type') == 'success')
@else
@endif
{{ session()->get('msg') }}
@endif
No. |
Nama |
Email |
Tanggal |
Status |
|
@foreach ($users as $index => $item)
{{ $index+1 }} |
@if(Auth::user()->id == $item->id)
{{ $item->name }}
@else
{{ $item->name }}
@endif
|
{{ $item->email }} |
{{ $item->created_at->format('d-m-Y') }} |
{{ $item->role }} |
@if(Auth::user()->id != $item->id)
@endif
|
@endforeach
@endsection
@section('js')
@endsection