@extends('layouts.main')
@section('content')
@include('layouts.components.alert-prompt')
@if (auth()->user()->role_id == 1)
No |
Nama |
Email |
No. HP |
Alamat |
Ditugaskan |
Action |
No |
Nama |
Email |
No. HP |
Alamat |
Ditugaskan |
Action |
@php
$noUser = 1;
@endphp
@forelse ($user as $data)
{{ $noUser++ }} |
{{ $data->fullname }} |
{{ $data->email }} |
{{ isset($data->no_hp) ? $data->no_hp : '-' }} |
{{ isset($data->address) ? $data->address : '-' }} |
{{ $data->warehouse->name }} |
|
@empty
Data Kosong
@endforelse
@else
@include('pages.user.Master_Data.User.index')
@endif
@endsection