ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 3.144.19.25 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/consolidated/newpayroll/resources/views/UserRole/ |
Upload File : |
@extends('layouts.layout') @section('pageTitle') View All users @endsection @section('content') <div class="box-body"> <div class="row"> <div class="col-md-12"> @if (count($errors) > 0) <div class="alert alert-danger alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> @foreach ($errors->all() as $error) <p>{{ $error }}</p> @endforeach </div> @endif @if(session('message')) <div class="alert alert-success alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Success!</strong> {{ session('message') }}</div> @endif @if(session('error_message')) <div class="alert alert-error alert-dismissible" role="alert"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span> </button> <strong>Error!</strong> {{ session('error_message') }}</div> @endif <table class="table table-bordered table-hover"> <tr> <th>Name</th> <th>User name</th> <th>Assigned Role</th> <th>Role Description</th> <th>Division</th> <th></th> </tr> @foreach ($users as $user) <tr> <td>{{ $user->name }}</td> <td>{{ $user->username }}</td> <td>{{ $user->roleName }}</td> <td>{{ $user->description }}</td> <td>{{ $user->division }}</td> @if($user->roleid!=null) <td> <a href = "{{ url('/role/'.$user->roleid.'/user/'.$user->id) }}"> Remove Role </td> @else <td></td> @endif </tr> @endforeach </table> </div> <!-- /.box-body --> </div> <!-- /.box --> </div> </div> @endsection