@extends('layouts.admin')
@section('title')
{{__('Manage Plans')}}
@endsection
@section('action-button')
@endsection
@section('content')
@foreach ($plans as $key => $plan)
{{ $plan->name }}
{{--
{{__('Edit')}} --}}
@if($plan->id != 1)
- {{ __('Trial') }} : {{$plan->trial_days}} {{ __('Days') }}
- {{ __('Monthly Price') }} : {{(isset($payment_setting['currency']) ? $payment_setting['currency'] : '$')}}{{$plan->monthly_price}}
- {{ __('Annual Price') }} : {{(isset($payment_setting['currency']) ? $payment_setting['currency'] : '$')}}{{$plan->annual_price}}
@endif
- {{ ($plan->max_users < 0)?__('Unlimited'):$plan->max_users }} {{__('Users')}}
- {{ ($plan->max_projects < 0)?__('Unlimited'):$plan->max_projects }} {{__('Projects')}}
- {{ ($plan->storage_limit .'MB' < 0 )?__('Unlimited'):$plan->storage_limit .'MB' }} {{__('Storage Limit')}}
@if($plan->description)
-
{{$plan->description}}
@endif
@if($plan->id != 1)
@endif
{!! Form::open(['method' => 'DELETE', 'route' => ['plans.destroy',$plan->id],'id'=>'delete-plans-'.$plan->id]) !!}
{!! Form::close() !!}
@endforeach
@endsection
@push('script')
@endpush