From df9cbf4ca2c79565586c1b7e73cff60d329f84bc Mon Sep 17 00:00:00 2001 From: Felipe Date: Tue, 7 Nov 2023 16:10:12 -0500 Subject: [PATCH] tarifas validas dependiendo de los espacios que queden --- resources/views/livewire/show-planes.blade.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/resources/views/livewire/show-planes.blade.php b/resources/views/livewire/show-planes.blade.php index 9660c4d..5ee1b42 100644 --- a/resources/views/livewire/show-planes.blade.php +++ b/resources/views/livewire/show-planes.blade.php @@ -505,7 +505,8 @@ @endif @endif @else - @if ($tarifaItem->pantallas == '1' && $tarifaItem->rol_id == '5') + @if ($tarifaItem->rol_id == '5' && ($tarifaItem->pantallas < ($tarifaItem->servicio->pantallas - count($consulta_verUsuarios->historiales)))) + @if ($tarifaItem->servicio->por_tiempo) @else @@ -521,11 +522,9 @@ @endif
- - - - - + + +