@extends('layouts.user') @section('title', 'Payment Details') @section('page-icon', 'receipt') @section('content')
Current balance₹{{ number_format($payment->balance_amount, 2) }}{{ $payment->membership->plan_name }}

Plan total₹{{ number_format($payment->amount, 2) }}

Paid amount₹{{ number_format($payment->paid_amount, 2) }}

Status{{ $payment->status }}

@if($payment->balance_amount > 0)Make a payment@endif

Payment history

All submitted receipts and their approval status.

@forelse($payment->histories as $key => $history) @empty @endforelse
S.NoDatePaid AmountReceiptStatus
{{ $key + 1 }}{{ \Carbon\Carbon::parse($history->payment_date)->format('d M Y') }}₹{{ number_format($history->paid_amount, 2) }}@if($history->receipt)View@else — @endif{{ $history->status }}
No payment history found
@endsection @push('styles') @endpush