@extends('layouts.app') @section('title', 'Abonos') @section('content')
{{ __('Creditos') }} @if ($credito->venta->total - $abonado > 1) {{ __('Abonar') }} @endif
  • Credito N°: {{ $credito->id }}
  • Fecha: {{ $credito->created_at }}
  • Monto: {{ $credito->venta->total }}
  • Cliente: {{ $credito->venta->cliente->nombre }}
  • Telefono: {{ $credito->venta->cliente->telefono }}
  • Dirección: {{ $credito->venta->cliente->direccion }}

@if ($abonos->isEmpty())

No hay registros disponibles.

@else
@foreach ($abonos as $abono) @endforeach
Id Monto Forma Pago Usuario Fecha/Hora
{{ $abono->id }} {{ $abono->monto }} {{ $abono->formapago->nombre }} {{ $abono->usuario->name }} {{ $abono->created_at }} Ticket
Total {{ number_format($abonado, 2) }} Restante: {{ number_format($credito->venta->total - $abonado, 2) }}
@endif
@stop @section('css') @endsection @section('js') @stop