Skip to content

A free open source IT asset/license management system

Added excludeIds prop

sniped5038d05174f
diff --git a/resources/views/blade/input/location-select.blade.php b/resources/views/blade/input/location-select.blade.php
index 3a7964e586..c5c4a2a04c 100644
--- a/resources/views/blade/input/location-select.blade.php
+++ b/resources/views/blade/input/location-select.blade.php
@@ -10,6 +10,7 @@
'helpText' => null,
'hideNewButton' => false,
'companyId' => null,
+ 'excludeIds' => null,
])
@php
@@ -45,6 +46,9 @@
@if ($companyId)
data-company-id="{{ $companyId }}"
@endif
+ @if ($excludeIds)
+ data-exclude-ids="{{ is_array($excludeIds) ? implode(',', $excludeIds) : $excludeIds }}"
+ @endif
>
<option value=""></option>
@if ($selected)