@extends('layouts.app') @section('head') @include('layouts.partials.headersection',['title'=>'Plans']) @endsection @section('content')
@csrf
@can('plan.delete')
@endcan
@can('plan.create') {{ __('Create Plan') }} @endcan
@foreach($posts as $row) @endforeach
{{ __('Name') }} {{ __('Price') }} {{ __('Duration') }} {{ __('Users') }} {{ __('Featured') }} {{ __('Is Trial') }} {{ __('Created at') }} {{ __('Action') }}
@if($row->id !== 1 && $row->active_users_count == 0) @endif {{ $row->name }} {{ $row->price }} @if($row->days == 365) Yearly @elseif($row->days == 30) Monthly @else {{ $row->days }} Days @endif {{ $row->active_users_count }} @if($row->featured==1) Yes @else No @endif @if($row->is_trial==1) Yes @else No @endif {{ $row->created_at->diffforHumans() }} @can('plan.edit') @endcan @can('plan.show') @endcan
{{ __('Name') }} {{ __('Price') }} {{ __('Duration') }} {{ __('Users') }} {{ __('Featured') }} {{ __('Is Deafult') }} {{ __('Created at') }} {{ __('Action') }}
@endsection @push('js') @endpush