update basic data pemilihan team region
This commit is contained in:
@@ -61,14 +61,14 @@
|
||||
class="input tomselect w-full @error('regions_id') border-danger bg-danger-light @enderror"
|
||||
name="regions_id">
|
||||
<option value="">Select Region</option>
|
||||
@if (isset($region))
|
||||
@foreach ($region as $regions)
|
||||
@if (isset($regions))
|
||||
@foreach ($regions as $region)
|
||||
@if (isset($teams))
|
||||
<option value="{{ $regions->id }}"
|
||||
{{ $teams->regions_id == $regions->id ? 'selected' : '' }}>
|
||||
{{ $regions->name }}</option>
|
||||
<option value="{{ $region->id }}"
|
||||
{{ $teams->regions_id == $region->id ? 'selected' : '' }}>
|
||||
{{ $region->name }}</option>
|
||||
@else
|
||||
<option value="{{ $regions->id }}">{{ $regions->name }}</option>
|
||||
<option value="{{ $region->id }}">{{ $region->name }}</option>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user