Fix end session report, move address when system is a ZC, show #addresses on systems
This commit is contained in:
@@ -50,10 +50,10 @@ Move Address
|
||||
<label for="remove" class="form-label">Delete System after Move</label>
|
||||
<div class="input-group">
|
||||
<div class="btn-group" role="group">
|
||||
<input type="radio" class="btn-check" name="remove" id="remove_yes" value="1" @if($o->system->setup || $o->system->addresses->count() > 1)disabled @endif @if(old('remove',FALSE))checked @endif>
|
||||
<input type="radio" class="btn-check" name="remove" id="remove_yes" value="1" @if($o->system->setup || $o->system->addresses->count()+$o->system->zcs->count() > 1)disabled @endif @if(old('remove',FALSE))checked @endif>
|
||||
<label class="btn btn-outline-danger" for="remove_yes">Yes</label>
|
||||
|
||||
<input type="radio" class="btn-check" name="remove" id="remove_no" value="0" @if($o->system->addresses->count() > 1)disabled @endif @if(! old('remove',FALSE))checked @endif>
|
||||
<input type="radio" class="btn-check" name="remove" id="remove_no" value="0" @if($o->system->addresses->count()+$o->system->zcs->count() > 1)disabled @endif @if(! old('remove',FALSE))checked @endif>
|
||||
<label class="btn btn-outline-success" for="remove_no">No</label>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user