@extends('layouts.master') @section('contain')

{{ auth()->user()->user_role == 'sub_admin' ? 'Poll Management' : 'Stock Poll Management' }}

@if (auth()->user()->user_role == 'sub_admin' || (auth()->user()->user_role == 'admin' && $is_stock < 10)) @endif
Name: {{ $role->name }}
Permissions: @if (!empty($rolePermissions)) @foreach ($rolePermissions as $v) @endforeach @endif
@endsection