@extends('layouts.admin.admin_layout') @section('title', trans('applang.roles')) @section('vendor-css') @endsection @section('page-css') @endsection @section('content')
{{trans('applang.add')}}
@if ($roles->count()) @foreach ($roles as $role) @endforeach @endif
{{--
--}} {{--
--}}
{{trans('applang.id')}} {{trans('applang.name')}} {{trans('applang.users')}} {{trans('applang.permissions')}} {{trans('applang.actions')}}
{{--
--}} {{--
--}}
{{$role->role_id}} {{app()->getLocale() == 'fa' ? $role->name_fa : $role->name_en}} {{usersOfRole($role->name_en)}} {{trans('applang.user')}} {!! "" .implode('', permissionsOfRoleName($role->role_id)) .""!!}
@include('admin.roles.modals') @endsection @section('page-vendor-js') @endsection @section('page-js') {{-- --}} {{-- --}} @if (app()->getLocale() == 'ar') @else @endif @endsection