@extends('layouts.front') @section('content')
@include('includes.user.sidebar')

@lang('Pricing Plans')

@foreach ($subs as $sub)

{{ $sub->title }}

@if ($sub->price == 0)

@lang('Free')

@else

{{ $curr->sign }}{{ round($sub->price * $curr->value, 2) }}

{{ $sub->days }} @lang('Days') @endif

@php echo $sub->details; @endphp

@if (!empty($package)) @if ($package->subscription_id == $sub->id && $sub->price != 0) {{ __('Current Plan') }}
@if (Carbon\Carbon::now()->format('Y-m-d') > $user->date) {{ __('Expired on:') }} {{ date('d/m/Y', strtotime($user->date)) }} @else {{ __('Ends on:') }} {{ date('d/m/Y', strtotime($user->date)) }} @endif {{ __('Renew') }} @else {{ __('Get Started') }}
  @endif @else {{ __('Get Started') }}
  @endif
@endforeach
@endsection