@extends('Backend.Layouts.app') @php $page_title = "Manage Users"; @endphp @section('content') @if ( request()->has('create') || request()->has('edit') ) @if( request()->edit ) @if( in_array('can_edit_user', current_user()->permissions() ) ) @include( backend_file('users.add_new') ) @else
You don't have the Permission to Edit a user !
@endif @endif @if( request()->create ) @if( in_array('can_create_user', current_user()->permissions() ) ) @include( backend_file('users.add_new') ) @elseYou don't have the Permission to Register a user !
@endif @endif @else @include( backend_file('users.view') ) @endif @stop