@extends('admin.layout') @section('title', 'Payment Details') @section('header', 'Payment Details') @section('content')
Recorded on {{ $payment->created_at->format('F d, Y \a\t g:i A') }}
{{ $payment->status === 'paid' ? 'Payment successfully processed' : ($payment->status === 'pending' ? 'Payment awaiting processing' : 'Payment processing failed') }}
Amount
{{ $payment->getFormattedAmount() }}
Customer Name
{{ $payment->customer_name ?? 'N/A' }}
Payment Method
Payment Date
{{ $payment->payment_date->format('F d, Y') }}
Transaction ID
{{ $payment->transaction_id }}
UPI ID
{{ $payment->upi_id }}
UPI Transaction ID
{{ $payment->upi_transaction_id }}
Check Number
{{ $payment->check_number }}
Bank Name
{{ $payment->bank_name }}
Task Title
{{ $payment->task->title }}
Task ID
#{{ $payment->task->id }}
Technician
{{ $payment->technician->name }}
{{ $payment->technician->phone }}
Task Completed
{{ $payment->task->completed_at->format('F d, Y') }}
Processed By
{{ $payment->processedBy->name ?? 'System' }}
{{ $payment->processedBy->email ?? 'N/A' }}
Processed At
{{ $payment->processed_at?->format('F d, Y g:i A') ?? 'N/A' }}
{{ nl2br($payment->notes) }}
@if($payment->payment_method === 'debt')This payment is recorded as debt/credit and requires follow-up for collection.