@if (\Illuminate\Support\Facades\Auth::user()->isAbleTo('urm-read'))
Actions | Status | User | Mobile No. | Organisation Unit | @if (!session('session_tenant_id'))Vendor ID | @endifRole | Last Login | Created At |
---|---|---|---|---|---|---|---|---|
@if (\Illuminate\Support\Facades\Auth::user()->isAbleTo('urm-update')) @endif @if ($tabledata->type != 'Doctor' && $tabledata->type != 'Clinic') @endif | @if ($tabledata->status) Active @else Inactive @endif | {{ $tabledata->name }} {{ $tabledata->email }} |
{{ $tabledata->mobile }} | @if ($tabledata->organisation_unit_id) {{ \App\Models\OrganisationUnits::find($tabledata->organisation_unit_id)->unit_name }} ({{ \App\Models\OrganisationUnits::find($tabledata->organisation_unit_id)->unit_code }}) @else --- @endif | @if (!session('session_tenant_id'))@if ($tabledata->getVendor) {{ $tabledata->getVendor->vendor_name }} @endif | @endif@if (\Illuminate\Support\Facades\DB::table('role_user')->where('user_id', $tabledata->id)->first()) {{ \App\Models\Role::find(\Illuminate\Support\Facades\DB::table('role_user')->where('user_id', $tabledata->id)->first()->role_id)->display_name }} @endif | @if ($tabledata->last_login) {{ \Carbon\Carbon::parse($tabledata->last_login)->format('d-M-Y H:i A') }} @else --- @endif | {{ \Carbon\Carbon::parse($tabledata->created_at)->format('d-M-Y H:i A') }} |