@extends('layouts.adminmaster') @section('styles') @endsection @section('content')
{{lang('Sl.No')}} | @can('Customers Delete')@endcan @cannot('Customers Delete') | @endcannot | {{lang('Name')}} | {{lang('User Type')}} | {{lang('Verification')}} | {{lang('Register Date')}} | {{lang('Status')}} | {{lang('Actions')}} |
---|---|---|---|---|---|---|---|---|
{{$i++}} | @if(Auth::user()->can('Customers Delete')) @else @endif |
@if(auth()->user()->can('Customers Login'))
{{Str::limit($customer->username, '40')}}@if($customer->voilated == 'on') {{__('Voilation')}} @endif id)}}" target="_blank"> {{lang('Login as')}} |
{{$customer->userType}} | @if($customer->verified == 1) {{lang('Verified')}} @else {{lang('Unverified')}} @endif | {{$customer->created_at->format(setting('date_format'))}} | @if($customer->status == "1") {{lang('Active')}} @else {{lang('Inactive')}} @endif |
@if(Auth::user()->can('Customers Edit'))
@else
~
@endif
@if(Auth::user()->can('Customers Delete'))
@else
~
@endif
@php
$ticketCount = \App\Models\Ticket\Ticket::where('cust_id', $customer->id)->count();
@endphp
@if($ticketCount > 0)
@endif
@if($customer->verified != 1 && $customer->userType == 'Customer')
@endif
|