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
@@ -24,7 +24,7 @@ editarTarifaPromo: @entangle('editarTarifaPromo'),
</div>
<div class="flex flex-col md:flex-row items-center justify-center gap-6 md:gap-4">
@if (auth()->user()->subvendedor)
@if (auth()->user()->subvendedor && $config->subvendedor)
<a x-on:click="modTarifas = true" class="justify-center flex px-4 py-2 rounded-lg cursor-pointer text-white bg-[#B221FD] hover:bg-[#7a02b8]">
Tarifas servicios
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" class="w-4 ml-2" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve">
@@ -34,7 +34,7 @@ editarTarifaPromo: @entangle('editarTarifaPromo'),
</a>
@endif
@if (auth()->user()->subvendedor)
@if (auth()->user()->subvendedor && $config->subvendedor)
<a x-on:click="modTarifasPromo = true" class="justify-center flex px-4 py-2 rounded-lg cursor-pointer text-white bg-[#B221FD] hover:bg-[#7a02b8]">
Tarifas promociones
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" class="w-4 ml-2" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve">