@extends('layouts.dashboardnew') @section('content') {{-- ===================== HEADER ===================== --}}

Historial de billetera

Consulta todos los movimientos de ingresos, retiros y balances de tu billetera.

{{ count($billetera) }} movimientos
{{-- ===================== PANEL COLAPSABLE DE FILTRO ===================== --}}
@include('usuario.componentes.filtrounificado', ['ruta' => 'wallet-historial', 'tipo1' => '1'])
{{-- ===================== TABLA ===================== --}}
Historial de movimientos
@foreach ($billetera as $bille) {{-- ID --}} {{-- Usuario con avatar --}} {{-- Descripción --}} {{-- Ingreso (débito) --}} {{-- Retiro (crédito) --}} {{-- Balance --}} {{-- Descuento --}} {{-- Fecha --}} @endforeach
# Usuario Descripción Ingreso Retiro Balance Descuento Fecha
#{{ $bille->id }}
{{ strtoupper(substr($bille->user->display_name, 0, 2)) }}
{{ $bille->user->display_name }}
{{ $bille->descripcion }} @if($bille->debito > 0) @if ($moneda->mostrar_a_d) {{$moneda->simbolo}} {{ $bille->debito }} @else {{ $bille->debito }} {{$moneda->simbolo}} @endif @else @endif @if($bille->credito > 0) @if ($moneda->mostrar_a_d) {{$moneda->simbolo}} {{ $bille->credito }} @else {{ $bille->credito }} {{$moneda->simbolo}} @endif @else @endif @if ($moneda->mostrar_a_d) {{$moneda->simbolo}} {{ $bille->balance }} @else {{ $bille->balance }} {{$moneda->simbolo}} @endif @if($bille->descuento > 0) - @if ($moneda->mostrar_a_d) {{$moneda->simbolo}} {{ $bille->descuento }} @else {{ $bille->descuento }} {{$moneda->simbolo}} @endif @else @if ($moneda->mostrar_a_d) {{$moneda->simbolo}} {{ $bille->descuento }} @else {{ $bille->descuento }} {{$moneda->simbolo}} @endif @endif {{ date('d-m-Y', strtotime($bille->created_at)) }}
@endsection @include('usuario.componentes.scripBotones')