@extends('layouts.admin.app') @section('content')
@include('include.alert')
@if(Auth::user()->role != 'viewer')
@endif @include('module.user.create')
@foreach($data as $value) {{-- --}} @endforeach
FULLNAME EMAIL ROLE ACTION
{{ $count++ }}{{ str_replace(',', ' ', $value->name) }} {!! $value->email !!} {{ ucfirst($value->role) }} @if(Auth::user()->id == $value->id) {{-- No Action --}} View Profile @else @if($value->role == 'customer') No Action @elseif(Auth::user()->role == 'editor' || Auth::user()->role == 'admin')
{{-- --}} Edit |
@csrf @if($value->activation == 1) @else @endif
@else No Action @endif @endif
@foreach($data as $value) @include('module.user.update') @endforeach @stop @section('js') {{-- --}} @stop