@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
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() }} | @if ($package->slug){{ $package->slug }} | @else@endif |
There are no packages