@section('site_title', formatTitle([__('Plans'), config('settings.title')])) @include('shared.breadcrumbs', ['breadcrumbs' => [ ['url' => route('admin.dashboard'), 'title' => __('Admin')], ['title' => __('Plans')], ]])

{{ __('Plans') }}

@if(config('settings.stripe')) {{ __('New') }} @endif
{{ __('Plans') }}
@include('shared.message') @if(count($plans) == 0) {{ __('No results found.') }} @else
{{ __('Name') }}
{{ __('Visibility') }}
{{ __('Status') }}
@foreach($plans as $plan)
{{ $plan->name }} @if($plan->amount_month == 0 && $plan->amount_year == 0) {{ __('Default') }} @endif
{{ ($plan->visibility ? __('Public') : __('Private')) }}
{{ ($plan->trashed() ? __('Disabled') : __('Active')) }}
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $plans->firstItem(), 'to' => $plans->lastItem(), 'total' => $plans->total()]) }}
{{ $plans->onEachSide(1)->links() }}
@endif