@extends('admin.layouts.app') @section('title','Subscriptions') @section('breadcrumb') / Donations / Subscriptions @endsection @section('content')
{{ $stats['total'] }}
Total
{{ $stats['active'] }}
Active
₹{{ number_format($stats['total_collected']) }}
Total Collected
₹{{ number_format($stats['monthly_value']) }}/mo
Monthly Value
Reset
All Subscriptions
{{ $subscriptions->total() }}
@forelse($subscriptions as $sub) @empty @endforelse
Sub IDSubscriberAmountFrequency Start DateNext PaymentCollectedCount StatusActions
{{ $sub->subscription_id }}
{{ $sub->full_name }}
{{ $sub->mobile }}
₹{{ number_format($sub->amount,2) }} {{ ucwords(str_replace('_',' ',$sub->frequency)) }} {{ $sub->start_date->format('d M Y') }} {!! $sub->next_payment_date_label !!} ₹{{ number_format($sub->total_collected,2) }} {{ $sub->payment_count }}
No subscriptions found
@if($subscriptions->hasPages()) @endif
@endsection @push('scripts') @endpush