@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
| # | Instructor | Phone | Status | Notes | Created Date | Actions | ||
|---|---|---|---|---|---|---|---|---|
|
{{ ucwords($item->first_name) }}
{{ ucwords($item->last_name) }}
ID: {{$item->id}} |
+{{ $item->phone_code.'-'.$item->phone }} | {{ $item->email }} | @if ($item->status == 0) Inactive Active @elseif ($item->status == 2) Rejected Active @elseif ($item->status == 3) Inactive Active Pending Approval @elseif ($item->status == 4) Account Suspended @elseif ($item->status == 5) Incomplete Installation @else Inactive Active @endif | {{date('d F, Y', strtotime($item->created_at))}} {{date('h:i A',strtotime($item->created_at))}} |
@if($EDIT_ACCESS) @endif @if($DELETE_ACCESS) @if($item->status==1) @else @endif @endif | |||
| No record! | ||||||||