@extends('layouts.logeado') @section('sub_title', 'Cartera') @section('sub_content')
@forelse($terceros as $tercero) @php $deuda = 0; foreach ($tercero->cartera as $cartera) { $deuda = $deuda + $cartera->SALDO_VENCIDO; } @endphp @empty @endforelse
Identificación Nombre Saldo
@if (!empty($c1)) @else @endif @if (!empty($c2)) @else @endif
{{ $tercero->NRO_IDENTIFICACION }} {{ $tercero->PRIMER_NOMBRE }} {{ $tercero->SEGUNDO_NOMBRE }} {{ $tercero->PRIMER_APELLIDO }} {{ $tercero->SEGUNDO_APELLIDO }}{{ number_format($deuda) }} Facturas @if ($usuario->roles_id == 1 || $usuario->modulos[8]->pivot->editar == 1) Exportar demanda @endif
No hay datos
@if (method_exists($terceros, 'links')) {{ $terceros->links() }} @endif
@endsection @section('script') @endsection