@extends('layouts.logeado') @if (isset($filtro)) @section('sub_title', 'Cuentas Corriente de Afiliados. Filtro: ' . $filtro[0] . '=' . $filtro[1]) @else @section('sub_title', 'Cuentas Corriente de Afiliados') @endif @section('sub_content')
Exportar:
ID | Identificación | Nombre | Último vale | Fecha último vale | Saldo cuenta | Saldo recargas | Estado | |||
---|---|---|---|---|---|---|---|---|---|---|
{{ $cuenta->id}} | {{ $cuenta->conductor->NUMERO_IDENTIFICACION}} | {{ $cuenta->conductor->NOMBRE}} | @php $tottr = count($cuenta->transacciones); if($tottr > 0){ //$cuenta->transacciones = $cuenta->transacciones->reverse(); echo "$" . number_format($cuenta->transacciones[$tottr-1]->valor) . " | "; echo "" . $cuenta->transacciones[$tottr-1]->fecha . " | "; }else{ echo ""; echo " | "; } @endphp | ${{ number_format($cuenta->saldovales) }} | ${{ number_format($cuenta->saldo) }} | @if ($cuenta->estado == "Inactiva") Inactiva @else Activa @endif | @if ($usuario->roles_id == 1 || $usuario->modulos[6]->pivot->editar == 1) @endif @if ($usuario->roles_id == 1) @endif Historial Vales |
No hay datos |