A free open source IT asset/license management system
Never disable email checkbox
Marcus Moore23838959cac0
diff --git a/app/Livewire/CategoryEditForm.php b/app/Livewire/CategoryEditForm.phpindex 98e505c8df..10c8621509 100644--- a/app/Livewire/CategoryEditForm.php+++ b/app/Livewire/CategoryEditForm.php@@ -61,9 +61,4 @@ class CategoryEditForm extends Component{return (bool)$this->useDefaultEula;}-- public function getSendCheckInEmailDisabledProperty()- {- return $this->eulaText || $this->useDefaultEula;- }}diff --git a/resources/views/livewire/category-edit-form.blade.php b/resources/views/livewire/category-edit-form.blade.phpindex aee6fe63ed..952e9c3b57 100644--- a/resources/views/livewire/category-edit-form.blade.php+++ b/resources/views/livewire/category-edit-form.blade.php@@ -90,7 +90,6 @@value="1"wire:model.live="sendCheckInEmail"aria-label="checkin_email"- @disabled($this->sendCheckInEmailDisabled)/>{{ trans('admin/categories/general.checkin_email') }}</label>@@ -100,9 +99,6 @@<span>{{ $this->emailMessage }}</span></div>@endif- @if ($this->sendCheckInEmailDisabled)- <input type="hidden" name="checkin_email" wire:model.live="sendCheckInEmail" />- @endif</div></div></div>