@extends('layouts.landing') @section('title') Subscription Package @endsection @section('content') @if (Auth::user()->isTenant()) @php $package = App\Models\Package::where("id", Auth::user()->package_id)->first(); @endphp
@if($package)
Tenant Package: {{ $package->name}}
@else
Tenant Package: Free Plan
@endif
Upgrade Plan

@endif

Subscription Packages

Add Package
@if (count($packages) > 0) @foreach ($packages as $package) @if ($package->slug) @else @endif @endforeach
s/n Name Price Validity Duration Package Category Date Created Package Link Recommended Action
{{ $package_no }} {{ $package->name }} ₦{{ number_format($package->price, 2) }} @if ($package->validity == 'Days') @if ($package->recur_date > 1) {{ $package->recur_date }} {{ $package->validity }} @else {{ $package->recur_date }} Day @endif @elseif($package->validity == 'Months') @if ($package->recur_date > 1) {{ $package->recur_date }} {{ $package->validity }} @else {{ $package->recur_date }} Month @endif @elseif($package->validity == 'Years') @if ($package->recur_date > 1) {{ $package->recur_date }} {{ $package->validity }} @else {{ $package->recur_date }} Year @endif @endif {{ $package->duration }} {{ $package->feature_category }} {{ \Carbon\Carbon::parse($package->created_at)->toFormattedDateString() }}{{ $package->slug }}
recommended == 1 ? 'checked' : '' }}>
@else

There are no packages

@endif
@include('elements.package') @include('elements.add-package-category') @endsection