update global subvendedor

This commit is contained in:
Juan Felipe Duarte
2025-08-22 10:09:23 -07:00
parent 4042fab30b
commit a5aafd738d
10 changed files with 179 additions and 139 deletions
@@ -21,7 +21,7 @@
Roles
</div>
@if (auth()->user()->subvendedor)
@if (auth()->user()->subvendedor && $config->subvendedor)
<a x-on:click="add = !add" class="flex items-center px-4 py-2 rounded-lg cursor-pointer text-white bg-[#B221FD] hover:bg-[#7a02b8] transition">
Añadir rol
<svg class="w-[0.87rem] ml-2" fill="#ffffff" viewBox="0 0 512 512">
@@ -41,9 +41,9 @@
this.search = '';
this.selectedId = null;
}
}"
}"
class="relative w-full max-w-md sm:max-w-xs">
<label class="block text-sm font-medium text-gray-700 mb-1">Buscar subvendedor</label>
<div class="relative">
@@ -224,4 +224,4 @@
</div>
</div>
</div>