@php $configData = Helper::appClasses(); $color = ['primary', 'warning', 'success', 'danger']; @endphp @extends('layouts/layoutMaster') @section('title', 'User') @section('content') @include('admin.includes.show-msg')
Add user, if it does not exist
| # | Name | Telephone | {{--Address | --}}Reseller | Role | Status | Actions | |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ Str::ucfirst($item->name) }} | {{ Str::ucfirst($item->email) }} | {{ Str::ucfirst($item->telephone) }} | {{--{{ Str::ucfirst($item->address) }} | --}}{{ $item?->reseller ? Str::ucfirst($item->reseller) : 'N\A' }} | @foreach ($item->roles->pluck('name') as $key => $role) {{ Str::upper($role) }} @endforeach | @switch($item->status) @case('pending') {{ Str::upper($item->status) }} @break @case('active') {{ Str::upper($item->status) }} @break @case('suspended') {{ Str::upper($item->status) }} @break @default {{ Str::upper($item->status) }} @endswitch |
|
| No record found. |