@extends('layouts.app') @section('title', 'Payment History') @section('page-icon', 'credit-card') @section('content')
| S.No | User | Plan | Paid Amount | Payment Date | Receipt | Status | Action |
|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $history->payment->user->name }} | {{ $history->payment->membership->plan_name }} | ₹{{ number_format($history->paid_amount,2) }} | {{ \Carbon\Carbon::parse($history->payment_date)->format('d-m-Y') }} | View Receipt | @if($history->status=='Waiting') Waiting @elseif($history->status=='Approved') Approved @else Rejected @endif | View |
| No Payment History | |||||||