Don’t show new user welcome if location or asset model import

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-11-13 15:36:02 +00:00
parent 752221ee84
commit 503d044fb8

View file

@ -177,7 +177,7 @@
</p>
@endif
@if ($this->activeFile->import_type != 'location' && $this->activeFile->import_type == 'assetmodel' && $update)
@if ($this->activeFile->import_type != 'location' && $this->activeFile->import_type != 'assetmodel' && $update)
<label class="form-control">
<input type="checkbox" name="send_welcome" data-livewire-component="{{ $this->getId() }}" wire:model.live="send_welcome">
{{ trans('general.send_welcome_email_to_users') }}