- owner_type=='physical') checked
+ owner_type)=='physical') checked
@endif name="owner_type"
onclick="handleOwnerClick(this.value);" value="physical"
id="flexRadioDefault3">
@@ -198,7 +198,7 @@
owner_type=='juridical') checked
+ @if(old('owner_type', $order->owner_type)=='juridical') checked
@endif name="owner_type"
onclick="handleOwnerClick(this.value);" value="juridical"
id="flexRadioDefault4">
@@ -213,7 +213,7 @@
-
@@ -229,7 +229,7 @@
@error('owner_first_name')
@@ -242,7 +242,7 @@
-
@@ -261,7 +261,7 @@
@error('owner_company')
@@ -290,7 +290,7 @@
class="form-control text-uppercase @error('contract_date') is-invalid @enderror"
id="estate-contract-date-input" name="contract_date"
data-provider="flatpickr" data-date-format="d.m.Y"
- value="{{ $order->contract_date }}"
+ value="{{ old('contract_date', $order->contract_date) }}"
placeholder="@lang('translation.write-estate-contract-date')"
tabindex="13">
@error('contract_date')
@@ -307,7 +307,7 @@
@error('name_of_object')
@@ -325,7 +325,7 @@
id="choices-region-input" tabindex="3">
@foreach($regions as $region)
@endforeach
@@ -348,7 +348,7 @@
id="choices-district-input" tabindex="3">
@foreach($districts as $district)
@endforeach
@@ -366,7 +366,7 @@
@error('address')
@@ -380,7 +380,7 @@
@error('home')
@@ -395,7 +395,7 @@
@lang('translation.area')
@error('area')
@@ -408,7 +408,7 @@
@lang('translation.overall-area')
@error('overall_area')
@@ -421,7 +421,7 @@
@lang('translation.usefull-area')
@error('usefull_area')
@@ -434,7 +434,7 @@
@lang('translation.live-area')
@error('live_area')
@@ -443,57 +443,6 @@
@enderror
- {{----}}