From 88124183a4cfc852112b9ece966ed7130fff7099 Mon Sep 17 00:00:00 2001 From: Felipe Date: Tue, 9 Jan 2024 09:44:09 -0500 Subject: [PATCH] update --- resources/views/livewire/show-clientes.blade.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/views/livewire/show-clientes.blade.php b/resources/views/livewire/show-clientes.blade.php index fa2aad1..8b44910 100755 --- a/resources/views/livewire/show-clientes.blade.php +++ b/resources/views/livewire/show-clientes.blade.php @@ -178,7 +178,7 @@ wire:click="verCliente({{ $cliente->id }})"> Ver

- @if (!empty($cliente->cuentas->first()->estado)) + @if (!empty($cliente->cuentas->first()->estado) && !empty($cliente->tarifa->servicio)) @if ($cliente->cuentas->first()->estado == 'pendiente' && $cliente->tarifa->servicio->renovacion == true) {{-- renovar --}} @if (Auth::user()->saldo->valor >= $cliente->tarifa->valor) @@ -262,7 +262,7 @@

Ver

- @if (!empty($cliente->cuentas->first()->estado)) + @if (!empty($cliente->cuentas->first()->estado) && !empty($cliente->tarifa->servicio)) @if ($cliente->cuentas->first()->estado == 'pendiente' && $cliente->tarifa->servicio->renovacion == true) {{-- renovar --}} @if (Auth::user()->saldo->valor >= $cliente->tarifa->valor) @@ -429,7 +429,7 @@ class="sm:absolute bg-white text-center w-32 rounded-md shadow-md [&>p]:py-1 [&>p]:cursor-pointer overflow-hidden text-gray-800">

Ver

- @if (!empty($cliente->cuentas->first()->estado)) + @if (!empty($cliente->cuentas->first()->estado) && !empty($cliente->tarifa->servicio)) @if ($cliente->cuentas->first()->estado == 'pendiente' && $cliente->tarifa->servicio->renovacion == true) {{-- renovar --}} @if (Auth::user()->saldo->valor >= $cliente->tarifa->valor) @@ -509,7 +509,8 @@ class="sm:absolute bg-white text-center w-32 rounded-md shadow-md [&>p]:py-1 [&>p]:cursor-pointer overflow-hidden text-gray-800">

Ver

- @if (!empty($cliente->cuentas->first()->estado)) + + @if (!empty($cliente->cuentas->first()->estado) && !empty($cliente->tarifa->servicio)) @if ($cliente->cuentas->first()->estado == 'pendiente' && $cliente->tarifa->servicio->renovacion == true) {{-- renovar --}} @if (Auth::user()->saldo->valor >= $cliente->tarifa->valor)