@extends('admin.layouts.master') @section('content')
All Client List
@if(session('success'))
{{session('success')}}
@elseif(session('warning'))
{{session('warning')}}
@elseif(session('error'))
{{session('error')}}
@endif @if($errors->any()) {!! implode('', $errors->all("
:message
")) !!} @endif
All Client
{{-- --}}
{{-- @can('create',"App\Models\Users\Client")--}}
@can('create', "App\Models\Users\Client") {{-- --}} Add New @endcan @can('import', "App\Models\Users\Client")
@csrf
@endcan
{{-- @endcan--}}
@can('export', "App\Models\Users\Client")Sample Sheet@endcan {{-- Tools --}}
{{-- --}} @if(!empty($client) && count($client)>0) @foreach($client as $key => $clientlist) {{-- --}} {{-- --}} @endforeach @endif
ID Name NDIS Number state nameStart Date End DateStatus Client New/Old Action
{{$clientlist->id}} {{$clientlist->name}} {{$clientlist->ndis_number}} @if(!empty($clientlist->state)){{$clientlist->state->name}}@endif{{$clientlist->start_date}} {{$clientlist->end_date}} @if($clientlist->is_active==1) {{"Active"}} @elseif($clientlist->is_active==0) {{"Deactive"}} @endif {{$clientlist->is_client}} @can('update', "App\Models\Users\Client") @endcan @can('delete', "App\Models\Users\Client") @endcan
Active Clients
{{-- --}}
{{-- @can('create',"App\Models\Users\Client")--}} {{-- @endcan--}}
{{-- --}} {{-- --}} @if(!empty($client) && count($client)>0) @foreach($client as $key => $clientlist) @if($clientlist->is_active==1) {{-- --}} {{-- --}} @endif @endforeach @endif
Name NDIS Number state nameStart Date End DateStatus Client New/Old Action
{{$clientlist->name}} {{$clientlist->ndis_number}} @if(!empty($clientlist->state)){{$clientlist->state->name}}@endif{{$clientlist->start_date}} {{$clientlist->end_date}} @if($clientlist->is_active==1) {{"Active"}} @elseif($clientlist->is_active==0) {{"Deactive"}} @endif {{$clientlist->is_client}} @can('update', "App\Models\Users\Client") @endcan @can('delete', "App\Models\Users\Client") @endcan
Inactive Clients
{{-- --}}
{{-- @can('create',"App\Models\Users\Client")--}} {{-- @endcan--}}
{{-- --}} {{-- --}} @if(!empty($client) && count($client)>0) @foreach($client as $key => $clientlist) @if($clientlist->is_active==0) {{-- --}} {{-- --}} @endif @endforeach @endif
Name NDIS Number state nameStart Date End DateStatus Client New/Old Action
{{$clientlist->name}} {{$clientlist->ndis_number}} @if(!empty($clientlist->state)){{$clientlist->state->name}}@endif{{$clientlist->start_date}} {{$clientlist->end_date}} @if($clientlist->is_active==1) {{"Active"}} @elseif($clientlist->is_active==0) {{"Deactive"}} @endif {{$clientlist->is_client}} @can('update', "App\Models\Users\Client") @endcan @can('delete', "App\Models\Users\Client") @endcan
Inactive Clients
{{-- --}}
{{-- @can('create',"App\Models\Users\Client")--}} {{-- @endcan--}}
{{-- --}} {{-- --}} @if(!empty($client) && count($client)>0) @foreach($client as $key => $clientlist) @if($clientlist->is_client=="new") {{-- --}} {{-- --}} @endif @endforeach @endif
Name NDIS Number state nameStart Date End DateStatus Client New/Old Action
{{$clientlist->name}} {{$clientlist->ndis_number}} @if(!empty($clientlist->state)){{$clientlist->state->name}}@endif{{$clientlist->start_date}} {{$clientlist->end_date}} @if($clientlist->is_active==1) {{"Active"}} @elseif($clientlist->is_active==0) {{"Deactive"}} @endif {{$clientlist->is_client}} @can('update', "App\Models\Users\Client") @endcan @can('delete', "App\Models\Users\Client") @endcan
@endsection @section('script') @endsection