This commit is contained in:
lizandrogd
2024-05-05 03:03:03 -05:00
parent 3b45d85784
commit 6324ff3974
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -200,7 +200,7 @@ class ShowServicios extends Component
} }
//dd($this->tarjetaPlan); //dd($this->tarjetaPlan);
$this->tp = true; $this->tarjetaPlan = true;
} }
@@ -406,7 +406,7 @@ class ShowServicios extends Component
} }
$this->tp = false; $this->tarjetaPlan = false;
$this->cantidad_tarjetaPlan = 1; $this->cantidad_tarjetaPlan = 1;
} }
@@ -189,7 +189,7 @@
{{-- Modal agregar servicios --}} {{-- Modal agregar servicios --}}
<div x-cloak x-show="tp" x-transition:enter="transition duration-350" <div x-cloak x-show="tarjetaPlan" x-transition:enter="transition duration-350"
x-transition:enter-start="opacity-0 scale-100" x-transition:enter-end="opacity-100 scale-100" x-transition:enter-start="opacity-0 scale-100" x-transition:enter-end="opacity-100 scale-100"
x-transition:leave="transition duration-350" x-transition:leave-start="opacity-100 scale-100" x-transition:leave="transition duration-350" x-transition:leave-start="opacity-100 scale-100"
x-transition:leave-end="opacity-0 scale-100" x-transition:leave-end="opacity-0 scale-100"
@@ -326,7 +326,7 @@
</span> </span>
@endif @endif
<span> <span>
<button x-on:click="tp=false" type="button" <button x-on:click="tarjetaPlan = false" type="button"
class="inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 text-white bg-[#585858] hover:bg-[#3a3a3a] focus:shadow-outline-green sm-text-sm sm-leading-5">Cerrar</button> class="inline-flex justify-center w-full rounded-md border border-transparent px-4 py-2 text-white bg-[#585858] hover:bg-[#3a3a3a] focus:shadow-outline-green sm-text-sm sm-leading-5">Cerrar</button>
</span> </span>
</div> </div>