@extends('layouts.app') @section('title', 'Upcoming Renewals') @section('page-title', 'Upcoming Renewals') @section('content')
Total Upcoming

{{ $summary['total_upcoming'] }}

Within 7 Days

{{ $summary['within_7_days'] }}

Within 15 Days

{{ $summary['within_15_days'] }}

Expected Revenue

₹{{ number_format($summary['expected_revenue'], 2) }}

Reset
Upcoming Renewals (Next {{ $days }} Days)
Back to Subscriptions
@forelse($subscriptions as $subscription) @php $daysUntil = now()->diffInDays($subscription->end_date, false); @endphp @empty @endforelse
Partner Plan Amount End Date Days Until Renewal Status Actions
{{ $subscription->partner->name }} @if($subscription->partner->company_name)
{{ $subscription->partner->company_name }} @endif
{{ ucfirst($subscription->plan_type) }} ₹{{ number_format($subscription->amount, 2) }} {{ $subscription->end_date->format('d M Y') }} {{ $daysUntil }} days Active

No upcoming renewals in the next {{ $days }} days

@endsection