@extends('Dashboard.layouts.master') @section('title','Wineries | List') @section('css') @endsection @section('content')
{{-- --}} {{-- --}} @foreach ($customers as $key => $customer) @php $plan = \App\Models\Plan::find($customer->subscription()?->plan_id); @endphp {{-- --}} @endforeach
No.{{__('forms.name')}} {{__('forms.email')}} Company {{__('forms.status')}} Verified {{__('forms.domain')}}{{__('forms.created_at')}}Role Plan Expiry Date {{__('forms.actions')}}
{{ $customer->name }} {{ $customer->email }} {{ $customer->company_name }}
{{$customer->status == 1 ? 'Approved' : 'Not Approved'}}
{{$customer->is_email_verified == 1 ? 'Verified' : 'Not verified'}}
{{$customer?->tenant?->domain->domain}} {{Helper::change_timezone($customer->created_at)}}{{ $customer->getRoleNames()->first()}} {{$plan?->name}} {{Helper::change_timezone( $customer->subscription()?->ends_at)}}
Action
@endsection @section('scripts') @endsection