@extends('layouts.admin') @section('title', __('Customer Groups')) @section('page-title', __('Customer Groups')) @section('content')
{{ __('Search') }}
{{ __('Add Customer Group') }}
@forelse($customerGroups as $group) @empty @endforelse
{{ __('Name') }} {{ __('Description') }} {{ __('Customers') }} {{ __('Type') }} {{ __('Created') }} {{ __('Actions') }}
{{ $group->name }}
{{ Str::limit($group->description ?? '-', 50) }}
{{ $group->customers_count }} @if($group->is_system) {{ __('System') }} @else {{ __('Custom') }} @endif {{ $group->created_at->format('M d, Y') }}
{{ __('View') }} {{ __('Edit') }} @if(!$group->is_system)
@csrf @method('DELETE') {{ __('Delete') }}
@endif
{{ __('No customer groups found.') }}
@if($customerGroups->hasPages())
{{ $customerGroups->links() }}
@endif
@endsection