@extends('layouts.app') @section('content')
Incomes / Payments
@foreach($payments as $payment) @endforeach
Date Customer Invoice No Amount Received By
{{ date('d M, Y',strtotime($payment->created_at)) }} {{$payment?->invoice?->customer?->name ?: "(blank)"}} INV{{ sprintf("%05d",$payment->invoice->invoice_no) ?: "(blank)" }} {{ number_format($payment->amount) ?: "0" }} {{ $payment->user->name ?: "(blank)" }}
@endsection