@extends('backend.index') @section('content')
A plan’s billing cycle defines the recurring frequency with which the subscriber is charged.
@foreach ($subscriptions as $index => $order ) @if($order->user) @endif @endforeach
Subscriber Gate Status Plan Billing Cycles Last Payment Next billing Updated Action
{{ $order->user->name }} {{ ucwords($order->gate) }} @if(\Carbon\Carbon::parse($order->trial_end)->gt(\Carbon\Carbon::now())) Trial ends {{ \Carbon\Carbon::parse($order->trial_end)->format('F j') }} @elseif(\Carbon\Carbon::parse($order->next_billing_date)->gt(\Carbon\Carbon::now())) Active @else in-Active @endif {{ $order->service->title }} Auto {{ $order->cycles }} {{ __('symbol.' . $order->currency) }}{{ number_format($order->amount) }} {{ \Carbon\Carbon::parse($order->last_payment_date)->format('M j') }} {{ \Carbon\Carbon::parse($order->next_billing_date)->format('M j') }} {{ timeElapsedShortString($order->updated_at) }} Cancel & Refund
@endsection