From 7eb04a1c8d1d1ca378a7d41a7de27b85217b27aa Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Sat, 9 Mar 2024 18:36:10 -0500 Subject: [PATCH] promociones y planes --- .../views/livewire/show-planes.blade.php | 2 +- .../views/livewire/show-promociones.blade.php | 24 +++++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/resources/views/livewire/show-planes.blade.php b/resources/views/livewire/show-planes.blade.php index be10996..68ff5ee 100755 --- a/resources/views/livewire/show-planes.blade.php +++ b/resources/views/livewire/show-planes.blade.php @@ -512,7 +512,7 @@ @else @if ( $tarifaItem->rol_id == '5' && - $tarifaItem->pantallas < $tarifaItem->servicio->pantallas - count($consulta_verUsuarios->historiales)) + $tarifaItem->pantallas <= $tarifaItem->servicio->pantallas - count($consulta_verUsuarios->historiales)) @if ($tarifaItem->servicio->por_tiempo) + @foreach ($tarifas as $tarifa) - + @if($tarifa->servicio->estado == 'activo') + + @endif @endforeach +