@extends('admin.layouts.app') @section('title', 'Payments | PG Finsev') @section('page-title', 'Payments') @section( 'page-description', 'Manage client payments and transactions' ) @push('styles') @endpush @section('content')
View online payments and record manual client payments.
Online and manually recorded payments
| Client | Payment ID | Amount | Method | Status | Date | Action |
|---|---|---|---|---|---|---|
|
{{ $initial }}
{{ $name }}
@if($email)
{{ $email }}
@endif
|
{{ $payment->payment_id ?? $payment->order_id ?? $payment->id }} | ₹{{ number_format( $payment->amount ?? 0, 2 ) }} | @if($payment->is_manual) Manual - {{ ucfirst( str_replace( '_', ' ', $payment->payment_method ?? 'Payment' ) ) }} @else Online @endif | @if( $payment->status === 'paid' ) Paid @elseif( in_array( $payment->status, [ 'pending', 'created' ] ) ) Pending @elseif( in_array( $payment->status, [ 'failed', 'cancelled', 'cancelled_by_user' ] ) ) {{ ucfirst( str_replace( '_', ' ', $payment->status ) ) }} @else {{ ucfirst( $payment->status ) }} @endif | {{ $payment->created_at ? $payment->created_at ->format( 'd M Y, h:i A' ) : '-' }} | @if( Route::has( 'admin.payments.show' ) ) View @else — @endif |