@extends('layouts.admin') @section('title') MANTENIMIENTO @stop @section('titulo') MANTENIMIENTO @stop @section('styles') @stop @section('descripcion') @stop @section('content') @include('includes.modal-ver')
@if(isset($deuda) && !is_null($deuda))
@if(!is_null($credito))
@include('cobranza.includes.detalle-cuenta')

HISTORIAL DE PAGOS
@php $saldo=$credito->saldo_inicial; @endphp @foreach($pagos as $p) @php $saldo-=$p->monto @endphp @endforeach
FECHA NUM RECIBO NUM REPORTE MONTO SALDO ACCIONES
{{$p->fecha->format('d/m/Y')}} @isset($p->recibo) {{$p->recibo->numero}} @endisset {{$p->num_reporte}} {{$p->monto}} {{round($saldo,2)}}
@if(count($descuentos)>0)
DESCUENTOS
@foreach($descuentos as $p) @endforeach
FECHA NUMRECIBO NUMREPORTE MONTO
{{$p->fecha->format('d-m-Y')}} {{$p->pago->numrecibo}} {{$p->pago->num_reporte}} {{round($p->monto,2)}}
@endif @if(count($devoluciones)>0)
DEVOLUCIONES
@foreach($devoluciones as $d) @endforeach
FECHA TIPO MONTO
{{$d->fecha->format('d-m-Y')}} {{$d->tipo}} {{round($d->monto_devolucion,2)}}
@endif
@if($credito->saldo>0)
{!! csrf_field() !!}

@endif
@endif

DATOS DE LA DEUDA

Nombres:{{$deuda->nombres}} {{$deuda->apellidos}}
Doc. Identidad:{{$deuda->num_documento}} {{$deuda->lugar_doc}}
Tipo documento deuda:{{$deuda->tipo_doc_deuda}}
Numero documento deuda: {{$deuda->num_doc_deuda}}
Fecha de Ingreso vencida: {{$deuda->fecha_ingreso_vencida}}

MONTO DE LA DEUDA

:

{{$deuda->saldo_deuda_vencida}}{{$deuda->moneda}}

@if($deuda->estado=='T')

ESTA DEUDA YA HA SIDO PAGADA EN FECHA {{$deuda->fecha_cancelado}}

@else

FORMULARIO DE CANCELACION

{!! csrf_field() !!}
{{-- --}}
@endif
@endif @section('scripts') @stop @endsection