PATH:
home
/
rwabteecom
/
public_html_olld
/
resources
/
views
/
settings
/
custom_domains
/
columns
/
Editing: is_active.blade.php
@php $checked = $row->is_active == 0 ? '' : 'checked'; $disabled = $row->is_approved == 0 || $row->is_approved == 2 ? 'disabled' : ''; @endphp <div class="d-flex align-items-center"> <label class="form-check form-switch d-flex justify-content-center cursor-pointer"> <input name="is_active" data-id="{{ $row->id }}" class="form-check-input custom-domain-is-active cursor-pointer" type="checkbox" value="1" {{ $checked }} {{ $disabled }}> <span class="switch-slider" data-checked="✓" data-unchecked="✕"></span> </label> </div>
SAVE
CANCEL