@extends('layouts.app') @section('content')
ACREEDORES
@foreach ($data as $d) @if ($d['f']->total_deuda - $d['a']->total_abono > 0) @endif @endforeach
# Codigo
Nombre
Empresa
Direccion
Total En Deuda
{{$d['p']->id}}
{{$d['p']->nombre}}
{{$d['p']->empresa}}
{{$d['p']->direccion}}
Q. {{number_format($d['f']->total_deuda - $d['a']->total_abono,2)}}
Q. {{number_format($t_d, 2)}}
@endsection