@php $ADD_ACCESS = false; $EDIT_ACCESS = false; $VIEW_ACCESS = false; $DELETE_ACCESS = false; // dd($ADD_ACCESS); $ADD_ACCESS = Helper::can_access('Add Customer'); $EDIT_ACCESS = Helper::can_access('Edit Customer Profile'); $VIEW_ACCESS = Helper::can_access('Delete Customer'); $DELETE_ACCESS = Helper::can_access('Delete Customer'); @endphp
| # | User | Phone | System Role | Created Date | Status | Actions | ||
|---|---|---|---|---|---|---|---|---|
|
{{ ucwords($item->first_name) }}
{{ ucwords($item->last_name) }}
ID: {{$item->id}} |
+{{ $item->phone_code.'-'.$item->phone }} | {{ $item->email }} | {{ Helper::role_name($item->system_user_role_id) }} | {{date('d F, Y', strtotime($item->created_at))}} {{date('h:i A',strtotime($item->created_at))}} |
@if ($item->status == 0) Inactive Active @else Inactive Active @endif | @if($EDIT_ACCESS) @endif @if($DELETE_ACCESS) @if($item->status==1) @else @endif @endif | ||
| No record! | ||||||||