@extends('layouts.master') @section('css') @section('title') صلاحيات المستخدمين - مورا سوفت للادارة القانونية @stop @endsection @section('page-header')
@endsection @section('content') @if (session()->has('Add')) @endif @if (session()->has('edit')) @endif @if (session()->has('delete')) @endif# | الاسم | العمليات |
---|---|---|
{{ ++$i }} | {{ $role->name }} | @can('عرض صلاحية') عرض @endcan @can('تعديل صلاحية') تعديل @endcan @if ($role->name !== 'owner') @can('حذف صلاحية') {!! Form::open(['method' => 'DELETE', 'route' => ['roles.destroy', $role->id], 'style' => 'display:inline']) !!} {!! Form::submit('حذف', ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!} @endcan @endif |