@extends('backend.app') @section('title', 'Edit Subscription') @push('style') @endsection @section('content')
@include('backend.partials.breadcrumb', [ 'items' => [ ['url' => route('dashboard'), 'title' => 'Dashboard', 'icon' => 'fas fa-home'], ['url' => route('admin.manual-subscriptions.index'), 'title' => 'Subscribers', 'icon' => 'fas fa-users'], ['title' => 'Edit Subscription', 'icon' => 'fas fa-edit'], ] ])
{{ substr($user->name ?? 'U', 0, 1) }}
{{ $user->name }}

{{ $user->email }}

@if($user->company)

{{ $user->company->name }}

@endif
Current Subscription Details
@if($subscription->active()) Active @else Inactive @endif
@php $currentPlan = \App\Models\SubscriptionPlan::where('stripe_price_id', $subscription->stripe_price)->first(); @endphp

@if($currentPlan) {{ $currentPlan->title }} @else Unknown @endif

{{ $subscription->starts_at->format('F d, Y') }}

@if($subscription->ends_at) {{ $subscription->ends_at->format('F d, Y') }} @else Ongoing @endif

@csrf @method('PUT') @if(session('success'))
Success! {{ session('success') }}
@endif @if ($errors->any())
Error: Please fix the following issues:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

Update Subscription

You can only update the end date of this subscription.

Choose the new end date for this subscription
@push('script') @endpush @endsection