@extends('layouts.app') @section('content')
@can('customers.create') {{ __('customers.create') }} @endcan
@foreach ($customers as $customer) @endforeach
{{ __('common.code') }} {{ __('common.name') }} {{ __('common.city') }} {{ __('customers.branches') }} {{ __('common.status') }} {{ __('common.actions') }}
{{ $customer->code }} {{ $customer->name }} {{ $customer->city }} {{ $customer->branches_count }} {{ $customer->status?->label() }}
@can('customers.update') {{ __('common.edit') }} @endcan @can('customers.archive')
@csrf @method('DELETE') {{ __('common.delete') }}
@endcan {{ __('common.details') }}
@endsection