@extends('layouts.adminmaster') @section('styles') @endsection @section('content')
{{lang('Sl.No')}} | @can('Category Delete')@endcan @cannot('Category Delete') | @endcannot | {{lang('Category Name')}} | {{lang('Ticket/Knowledge')}} | {{lang('Assign To Groups')}} | {{lang('Assigned Priority')}} | {{lang('Status')}} | {{lang('Actions')}} |
---|---|---|---|---|---|---|---|---|
{{$i++}} | @if(Auth::user()->can('Category Delete')) @else @endif | {{$category->name}} | {{$category->display}} | @if(Auth::user()->can('Category Assign To Groups')) @if($category->display == 'ticket' || $category->display == 'both') {{$category->groupscategoryc()->count()}} @endif @else ~ @endif | @if($category->priority != null) @if($category->priority == "Low") {{$category->priority}} @elseif($category->priority == "High") {{$category->priority}} @elseif($category->priority == "Critical") {{$category->priority}} @else {{$category->priority}} @endif @else ~ @endif | @if(Auth::user()->can('Category Edit')) @if($category->status == '1') @else @endif @else ~ @endif |