@extends('layouts.app') @section('content')
{{ $title }} Add User
@if(config('app.store') == "hotel") @endif @php $num = 1; @endphp @foreach($users as $user) @if(config('app.store') == "hotel") @endif @php $num++; @endphp @endforeach
# Full Name EmailDepartmentStore Username Group Status Details
{{ $num }} {{ $user->name }} {{ $user->email }}{{ $user->department }}{{ $user->warehousestore->name ?? "" }} {{ $user->username }} {{ $user->group->name }} {!! $user->status == 1 ? label("Active","success") : label("Inactive","danger") !!} @if (userCanView('user.edit')) Edit @endif @if (userCanView('user.toggle') && auth()->id() !=$user->id) Toggle @endif
@endsection