Presentation fixes, no functional changes
This commit is contained in:
parent
432a9bbf2b
commit
676ba4a40b
@ -36,7 +36,7 @@ class AddressMerge extends FormRequest
|
|||||||
$src = Address::withTrashed()->findOrFail($request->src);
|
$src = Address::withTrashed()->findOrFail($request->src);
|
||||||
|
|
||||||
if ((! $dst->active) && ($dst->system_id !== $src->system_id) && ($src->system->name !== System::default))
|
if ((! $dst->active) && ($dst->system_id !== $src->system_id) && ($src->system->name !== System::default))
|
||||||
$fail('Destination must be active, or be from the system system');
|
$fail('Destination must be active, or be from the same system');
|
||||||
},
|
},
|
||||||
function ($attribute,$value,$fail) use ($request) {
|
function ($attribute,$value,$fail) use ($request) {
|
||||||
$dst = Address::withTrashed()->findOrFail($value);
|
$dst = Address::withTrashed()->findOrFail($value);
|
||||||
|
@ -35,7 +35,7 @@ $user->load(['systems.akas.zone.domain.echoareas','systems.akas.echoareas']);
|
|||||||
<!-- {{ $x=$list->first()->domain->name }} -->
|
<!-- {{ $x=$list->first()->domain->name }} -->
|
||||||
<div class="accordion-item">
|
<div class="accordion-item">
|
||||||
<h3 class="accordion-header">
|
<h3 class="accordion-header">
|
||||||
<span class="accordion-button" id="hd_{{ $x }}" data-bs-toggle="collapse" data-bs-target="#collapse_{{ $x }}" aria-expanded="true" aria-controls="collapse_{{ $x }}">{{ $x }}</span>
|
<span @class(['accordion-button','collapsed'=>$loop->index]) id="hd_{{ $x }}" data-bs-toggle="collapse" data-bs-target="#collapse_{{ $x }}" aria-expanded="true" aria-controls="collapse_{{ $x }}">{{ $x }}</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<div id="collapse_{{ $x }}" class="accordion-collapse {{ ($loop->index) ? 'collapse' : 'show' }}" aria-labelledby="{{ $x }}" data-bs-parent="#accordion_details">
|
<div id="collapse_{{ $x }}" class="accordion-collapse {{ ($loop->index) ? 'collapse' : 'show' }}" aria-labelledby="{{ $x }}" data-bs-parent="#accordion_details">
|
||||||
|
Loading…
Reference in New Issue
Block a user