From 9b9ada492a041ab7252dc2e7691c237807c0f840 Mon Sep 17 00:00:00 2001 From: Juan Felipe Duarte <70235683+DuarteJFelipe@users.noreply.github.com> Date: Mon, 22 Sep 2025 13:26:49 -0500 Subject: [PATCH] Remove extra client info fields from modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deleted sections displaying Servicio, Estado, and Restante information from the extraInfo modal in show-clientes.blade.php, leaving only the ContraseƱa and Acciones fields. This streamlines the modal and reduces displayed client details. --- .../views/livewire/show-clientes.blade.php | 62 +------------------ 1 file changed, 1 insertion(+), 61 deletions(-) diff --git a/resources/views/livewire/show-clientes.blade.php b/resources/views/livewire/show-clientes.blade.php index 5a26016..c73528a 100755 --- a/resources/views/livewire/show-clientes.blade.php +++ b/resources/views/livewire/show-clientes.blade.php @@ -161,71 +161,11 @@ -
ContraseƱa
{{ $this->consultaPassword($cliente->id) }}
Servicio
- @if (!empty($cliente->tarifa->servicio)) -{{ $cliente->tarifa->servicio->nombre }} - - @if ($cliente->tarifa->servicio->nombre != 'Spotify Premium' && $cliente->tarifa->servicio->nombre != 'Youtube Premium') - {{ $cliente->tarifa->pantallas }} Pantallas - @endif - -
- @endif - - @if (!empty($cliente->promocion_id)) -{{ $cliente->promocion->nombre }}
- @endif -Estado
-- {{ $cliente->estado ?? '' }} -
-Restante
-- @php - $date1 = new DateTime(strtr(strval($fechaActual), '/', '-')); - $date2 = new DateTime(strtr(strval($cliente->fecha_final), '/', '-')); - @endphp - - @if ($date1 < $date2) -
- @php - $diff = $date1->diff($date2); - echo $diff->days . ' dias'; - @endphp -
- @endif - - @if ($date1 > $date2) -- @php - echo 'Vencido'; - @endphp -
- @endif - - @if ($date1 == $date2) -- @php - echo 'Vence hoy!!'; - @endphp -
- @endif - -Acciones