@livewire('components.customer-profile', ['id' => $customer_id])
@error('type') {{ $message }} @enderror
@if ($attributes && count($attributes) > 0)
@error('unit') {{ $message }} @enderror
@endif
@if ($attributes && count($attributes) > 0) @foreach ($attributes as $item)
{{ $item->attribute->name ?? '' }}
@error('userattributes.' . $item->id) The {{ $item->attribute->name ?? '' }} field is required @enderror
@endforeach
@error('notes') {{ $message }} @enderror
@endif
@livewire('components.customer-discount', ['id' => $customer_id])