@extends('layouts.app') @section('title', 'Categories Listing') @section('headSource') @endsection @section('content')
| Sr | Title | Status | Created At | @if((checkPermission('editCategory', Auth::user()->role) || checkPermission('deleteCategory', Auth::user()->role)) || Auth::user()->role == 'SuperAdmin')Action | @endif
|---|---|---|---|---|
| {{$loop->iteration}} | {{$record->title}} | {!! ($record->status == 1) ? 'Active': 'In-Active' !!} | {{ Carbon\Carbon::parse($record->created_at)->format('d M, Y h:i A')}} |
@if (checkPermission('editCategory',Auth::user()->role) || Auth::user()->role=='SuperAdmin')
$record->id])}}" class="btn btn-primary shadow sharp mr-1"> Edit
@endif
@if (checkPermission('deleteCategory',Auth::user()->role) || Auth::user()->role=='SuperAdmin')
$record->id])}}" class="deletedBtn btn btn-danger shadow sharp"> Delete
@endif
View Task Sheets
|