{{ __('user.button.customer-list') }}
Per Page 10 Per Page 25 Per Page 50
{{ trans('customer.table.no') }} {{ trans('customer.table.name') }} {{ trans('customer.table.address') }} {{ trans('customer.table.paket') }} {{ trans('customer.table.action') }} @forelse ($customers as $key => $user) {{ ($customers->currentpage() - 1) * $customers->perpage() + $loop->index + 1 }}
{{ $user->full_name }}
{{ $user->user_address()->withTrashed()->first()->address }} {{ $user->customer_pakets()->withTrashed()->whereHas('paket')->count() }} pakets
@empty
{{ trans('customer.deleted-notfound') }}
@endforelse @if ($customers->count())
@if (collect($usersSelected)->count()) @php $countCustomer = trans_choice('customer.count-customers', collect($usersSelected)->count(), ['count' => collect($usersSelected)->count()]); @endphp {{ trans('customer.button.bulk-restore-customer-deleted', ['count' => $countCustomer]) }} {{ trans('customer.button.bulk-delete-customer-permanently', ['count' => $countCustomer]) }} @endif
@endif
@if ($customers->hasPages())
{{ $customers->links() }}
@endif