@extends('layouts.master') @section('title') Inicio @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Inicio @endslot @slot('li_2') Panel Catastro @endslot @slot('title') Registro de Pagos @endslot @endcomponent
@foreach($pagos as $pago) @endforeach
ID Caja N° Recibo(s) Cliente(s) Método Monto Referencia Fecha Acciones
{{ $pago->id_pago }} {{ $pago->historialCaja->caja->nombre ?? '—' }} @if($pago->recibos->count()) @foreach($pago->recibos as $recibo) {{ $recibo->numero_recibo }} @endforeach @else — @endif @if($pago->recibos->count()) @foreach($pago->recibos as $recibo) @if($recibo->facturas->first()) {{ $recibo->facturas->first()->conexion->cliente->nombres_razon_social }} @endif @endforeach @else — @endif {{ $pago->metodo_pago }} S/ {{ number_format($pago->monto, 2) }} {{ $pago->referencia ?? '-' }} {{ $pago->created_at->format('d/m/Y H:i') }}
@endsection @section('script') @endsection