@extends('panel::layouts.app') @section('body-class', '') @section('title', __('panel/menu.customers')) @section('page-title-right') {{ __('panel/common.create') }} @endsection @section('content')
@if ($customers->count())
@foreach($customers as $item) @endforeach
{{ __('panel/common.id')}} {{ __('panel/customer.avatar') }} {{ __('panel/customer.email') }} {{ __('panel/customer.name') }} {{ __('panel/customer.from') }} {{ __('panel/customer.group') }} {{ __('panel/customer.locale') }} {{ __('panel/common.created_at') }} {{ __('panel/common.active') }} {{ __('panel/common.actions') }}
{{ $item->id }}
{{ $item->email }} {{ $item->name }} {{ $item->from }} {{ $item->customerGroup->translation->name ?? '-' }} {{ $item->locale }} {{ $item->created_at }} @include('panel::shared.list_switch', ['value' => $item->active, 'url' => panel_route('customers.active', $item)])
{{ __('panel/customer.login_frontend')}} {{ __('panel/common.edit')}}
@csrf @method('DELETE') {{ __('panel/common.delete')}}
{{ $customers->withQueryString()->links('panel::vendor/pagination/bootstrap-4') }} @else @endif
@endsection @push('footer') @endpush