@extends('layouts.admin') @section('title','Driver subscriptions') @section('heading','Driver subscriptions') @section('content')

Create plan

@csrf

Plans

@forelse($plans as $plan)@csrf @method('put')@empty@endforelse
PlanServicePriceDurationRulesSalesEdit
{{ $plan->subscriptions_count }}
No plans configured.

Purchase history

@forelse($subscriptions as $item)@empty@endforelse
DriverPlanAmountTermStatus
{{ $item->driver?->user?->name }}
{{ $item->driver?->user?->email }}
{{ $item->plan?->name }}{{ $item->currency }} {{ number_format($item->amount,2) }}{{ $item->starts_at->format('d M Y') }} – {{ $item->ends_at->format('d M Y') }}{{ $item->status }}
No subscription purchases.
{{ $subscriptions->links() }}
@endsection