2025-06-25 17:52:24 +02:00
|
|
|
<div class="form-floating">
|
2023-12-08 18:52:21 +01:00
|
|
|
<input id="postal_code" name="postal_code" type="text" value="{{ old('postal_code', $crmCustomer->postcode ?? null) }}"
|
|
|
|
|
placeholder="{{ __('Votre :attribute', [
|
|
|
|
|
'attribute' => __('validation.attributes.postal_code'),
|
|
|
|
|
]) }}"
|
|
|
|
|
@class([
|
2025-06-25 17:52:24 +02:00
|
|
|
'form-control mx-auto bg-white rounded-0',
|
2023-12-08 18:52:21 +01:00
|
|
|
'is-invalid' => $errors->has('postal_code'),
|
|
|
|
|
]) autocomplete="postal-code" @readonly(!empty($readonly)) @disabled(!empty($disabled)) @required(!empty($required)) />
|
|
|
|
|
<label for="postal_code">{{ Str::ucfirst(__('validation.attributes.postal_code')) }}@if (!empty($required))
|
|
|
|
|
*
|
|
|
|
|
@endif
|
|
|
|
|
</label>
|
|
|
|
|
@foreach ($errors->get('postal_code') as $message)
|
|
|
|
|
<div class="invalid-feedback">{{ $message }}</div>
|
|
|
|
|
@endforeach
|
|
|
|
|
</div>
|