boton para expandir
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
@foreach ($clientes as $cliente)
|
@foreach ($clientes as $cliente)
|
||||||
<tr class="table-row md:hidden border-gray-200 text-left" x-data="{ extraInfo: false, openOption: false, isOpen1: false, isOpen2: false }">
|
<tr class="table-row md:hidden border-gray-200 text-left" x-data="{ extraInfo: false, openOption: false, isOpen1: false, isOpen2: false }">
|
||||||
<td @click="extraInfo = true">{{ $cliente->nombre_cliente ?? $cliente->cliente->name }}</td>
|
<td @click="extraInfo = true">{{ $cliente->nombre_cliente ?? $cliente->cliente->name }}</td>
|
||||||
<td @click="extraInfo = true">
|
<td @click="extraInfo = true" class="relative">
|
||||||
@if (!empty($cliente->cuentas_obsoletas->unique()))
|
@if (!empty($cliente->cuentas_obsoletas->unique()))
|
||||||
@foreach ($cliente->cuentas_obsoletas->unique() as $cuenta)
|
@foreach ($cliente->cuentas_obsoletas->unique() as $cuenta)
|
||||||
{{ $cuenta->correo }} <br>
|
{{ $cuenta->correo }} <br>
|
||||||
@@ -86,6 +86,11 @@
|
|||||||
{{ $cuenta1->correo }} <br>
|
{{ $cuenta1->correo }} <br>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
<div class="flex justify-end">
|
||||||
|
<div class="flex justify-center w-8 gap-2 items-center bg-[#B221FD] text-white fill-white px-2 py-1 rounded-md cursor-pointer">
|
||||||
|
<svg class="w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M440-440H240q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h200v-200q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v200h200q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H520v200q0 17-11.5 28.5T480-200q-17 0-28.5-11.5T440-240v-200Z"/></svg>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div x-cloak x-show="extraInfo" class="mt-2 mx-2 p-2 bg-gray-200 rounded-md shadow-md"
|
<div x-cloak x-show="extraInfo" class="mt-2 mx-2 p-2 bg-gray-200 rounded-md shadow-md"
|
||||||
@click.outside="extraInfo = false">
|
@click.outside="extraInfo = false">
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
|
|||||||
Reference in New Issue
Block a user