@extends('admin.layouts.admin') @section('content')
@foreach ($plans as $plan) @endforeach
{{ __('Name') }} {{ __('Subscriptions') }} {{ __('Type') }} {{ __('Visibility') }} {{ __('Created at') }} {{ __('Actions') }}
{{ $plan->name }} {{ $plan->tag == 'guest' ? '---' : $plan->subscriptions->count() }} @if ($plan->id != 2 && $plan->id != 1) @if ($plan->invoice_interval == 'month') {{ __('Monthly') }} @elseif($plan->is_lifetime == 1) {{ __('Lifetime') }} @else {{ __('Yearly') }} @endif @else @if ($plan->tag == 'free') {{ __('Free') }} @else {{ __('Guest') }} @endif @endif @if ($plan->is_active) {{ __('Public') }} @else {{ __('Unlisted') }} @endif {{ toDate($plan->created_at, 'Y-m-d') }}
@if ($plan->id == 2 || $plan->id == 1) @else @endif @if ($plan->id != 2 && $plan->id != 1) @else @endif
@endsection