@extends('layouts.dashboard') @section('title', $pageTitle ?? 'Payments') @section('page_header') @endsection @section('page_content') @if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
{{ $errors->first() }}
@endif
Total Entries
{{ (int) ($totalPayments ?? 0) }}
Total Amount
{{ number_format((float) ($totalAmount ?? 0), 2) }}
@forelse ($payments as $payment) @empty @endforelse
Date Reference Company Party Party Type Mode Description Amount Actions
{{ optional($payment->date)->format('Y-m-d') }} {{ $payment->reference_no }} {{ $payment->company?->name }} {{ $payment->party?->name }} {{ $payment->party?->party_type }} {{ $payment->mode }} {{ $payment->description ?: '-' }} {{ number_format((float) $payment->amount, 2) }}
@if (! empty($payment->invoice_url)) @else - @endif
No payment records found.
@endsection @push('styles') @endpush @push('scripts') @endpush