fix(admin): resolve issues on tour create page
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
<label class="form-label">سبک تور <span class="text-danger">*</span></label>
|
<label class="form-label">سبک تور <span class="text-danger">*</span></label>
|
||||||
<select class="form-control" name="tour_type">
|
<select class="form-control" name="tour_type">
|
||||||
<option value="">یک مورد را انتخاب کنید</option>
|
<option value="">یک مورد را انتخاب کنید</option>
|
||||||
@foreach(\App\Enums\Flight\TourType::cases() as $type)
|
@foreach(\App\Enums\Tour\TourType::cases() as $type)
|
||||||
<option
|
<option
|
||||||
value="{{ $type->value }}" {{ old('tour_type') == $type->value ? 'selected' : '' }}>
|
value="{{ $type->value }}" {{ old('tour_type') == $type->value ? 'selected' : '' }}>
|
||||||
{{ method_exists($type, 'label') ? $type->label() : $type->name }}
|
{{ method_exists($type, 'label') ? $type->label() : $type->name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user