@extends('layouts.customer') @section('content')

Users

@if ($message = Session::get('success'))

{{ $message }}

@endif
Update Permission
@if ($errors->any())
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
{{ __('Role Permission') }}:
@foreach($roleUserPermissions as $value) {{ $value }}
@endforeach
@csrf @method('PUT')
{{ __('Additional Permission') }}:
@foreach($permission as $value) @if( !in_array($value->id, $rolePermissions) )
{{ Form::checkbox('permission[]', $value->id, false, array('class' => 'custom-switch-input', 'id'=>'switch-S'.$value->id)) }} {{ $value->name }}
@endif @endforeach
@endsection