@extends('layouts.landing') @section('title', 'Subscription') @section('content')
@forelse ($packages as $package)

{{ $package->name }}

@if ($package->validity == 'Years') @if ($package->duration == 1) ₦{{ number_format($package->price, 2) }} / Year @elseif($package->duration > 1) ₦{{ number_format($package->price, 2) }} / {{ $package->duration }} Years @endif @elseif($package->validity == 'Months') @if ($package->duration > 0 && $package->duration < 2) NGN {{ number_format($package->price, 2) }} / Month @elseif($package->duration > 1) NGN {{ number_format($package->price, 2) }} / {{ $package->duration }} Months @endif @elseif($package->validity == 'Days') @if ($package->duration > 0 && $package->duration < 2) NGN {{ number_format($package->price, 2) }} / Day @elseif($package->duration > 1) @if ($package->price < 1) {{ $package->duration }} Days Trial @else NGN {{ number_format($package->price, 2) }} / {{ $package->duration }} Days @endif @endif @endif

@if ($package->recommended == 1) @endif
Features
    @php $features = ''; if (isset($package->features) && !empty($package->features)) { $features = json_decode($package->features); } @endphp @forelse ($features as $feature)
  • {{ $feature }}
  • @empty
  • None Available for now
  • @endforelse
@if ($package->price < 1) @if (isLoggedIn()) Start for free @else Start for free @endif @else Get started @endif
@empty
No Upgradable plan found
@endforelse {{--
--}}
{{-- --}} @endsection