@extends('layouts.app') @section('title', 'Payment Details') @section('content')

Payment Details

View complete payment information.

Payment Information

Payment ID
#{{ $payment->payment_id }}
Invoice / Order
{{ $payment->order->invoice->invoice_number ?? 'No Invoice' }} @if($payment->order) — {{ $payment->order->serial_number }} @endif
Customer
{{ $payment->customer->customer_name ?? 'N/A' }}
Payment Method
{{ $payment->method->method_type ?? 'N/A' }}
Amount Paid
Rs. {{ number_format((float)$payment->amount_paid, 2) }}
Remaining Amount
Rs. {{ number_format((float)$payment->remaining_amount, 2) }}
Status
{{ ucfirst($payment->status->status_name ?? 'N/A') }}
Payment Date
{{ $payment->payment_date ? $payment->payment_date->format('d M Y, h:i A') : 'N/A' }}
Received By
{{ $payment->receiver->user_name ?? 'N/A' }}
@endsection