@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')
@isset($filtro) @endisset @if($errors->first('sql') != null)
{{$errors->first('sql')}}
@endif
Actualizar cuentas

Exportar:

@forelse($cuentas as $cuenta) @php $tottr = count($cuenta->transacciones); if($tottr > 0){ //$cuenta->transacciones = $cuenta->transacciones->reverse(); echo ""; echo ""; }else{ echo ""; echo ""; } @endphp @empty @endforelse
ID Identificación Nombre Último vale Fecha último vale Saldo cuenta Saldo recargas Estado
{{ $cuenta->id}} {{ $cuenta->conductor->NUMERO_IDENTIFICACION}} {{ $cuenta->conductor->NOMBRE}}$" . number_format($cuenta->transacciones[$tottr-1]->valor) . "" . $cuenta->transacciones[$tottr-1]->fecha . "${{ 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
@if(method_exists($cuentas,'links')) {{ $cuentas->links() }} @endif
@endsection @section('modal') @endsection @section('script') @endsection