@extends('admin.layouts.grid') @section('section', translate('Premium')) @section('title', translate('Plans')) @section('create', route('admin.premium.plans.create')) @section('container', 'container-max-xl') @section('content')
@if ($plans->count() > 0)
@foreach ($plans as $plan) @endforeach
{{ translate('Name') }} {{ translate('Interval') }} {{ translate('Price') }} {{ translate('Downloads') }} {{ translate('Status') }} {{ translate('Action') }}
{{ $plan->name }} @if ($plan->isFeatured()) {{ translate('Featured') }} @endif {{ $plan->getIntervalName() }} {{ !$plan->isFree() ? getAmount($plan->price) : translate('Free') }} {{ $plan->hasUnlimitedDownloads() ? translate('Unlimited') : number_format($plan->downloads) }} @if ($plan->isActive()) {{ translate('Active') }} @else {{ translate('Disabled') }} @endif
@else @include('admin.partials.empty', ['empty_classes' => 'empty-lg']) @endif
@push('top_scripts') @endpush @push('styles_libs') @endpush @push('scripts_libs') @endpush @endsection