@if ($monthlyPlans->count() > 0)
@foreach ($monthlyPlans as $monthlyPlan)
{!! planBadge($monthlyPlan->id) !!}

{{ $monthlyPlan->name }}

{{ $monthlyPlan->short_description }}

@if ($monthlyPlan->price != 0) {{ currencySymbol() }} {{ price($monthlyPlan->price) }} / @if ($monthlyPlan->interval == 0) {{ lang('month', 'plans') }} @elseif($monthlyPlan->interval == 1) {{ lang('year', 'plans') }} @elseif($monthlyPlan->interval == 2) {{ lang('lifetime', 'plans') }} @endif @else {{ lang('free') }} @endif
@if ($monthlyPlan->storage_space) {{ formatBytes($monthlyPlan->storage_space) }} {{ lang('Storage Space', 'plans') }} @else {{ lang('Unlimited', 'plans') }} {{ lang('Storage Space', 'plans') }} @endif
@if ($monthlyPlan->transfer_size) {{ formatBytes($monthlyPlan->transfer_size) }} {{ lang('Size per transfer', 'plans') }} @else {{ lang('Unlimited', 'plans') }} {{ lang('Size per transfer', 'plans') }} @endif
@if ($monthlyPlan->transfer_interval) {{ lang('Files available for', 'plans') }} {{ $monthlyPlan->transfer_interval }} {{ $monthlyPlan->transfer_interval > 1 ? lang('days') : lang('day') }} @else {{ lang('Files available for', 'plans') }} {{ lang('Unlimited time', 'plans') }} @endif
@if ($monthlyPlan->transfer_password)
{{ lang('Password protection', 'plans') }}
@endif @if ($monthlyPlan->transfer_notify)
{{ lang('Email notification', 'plans') }}
@endif @if ($monthlyPlan->transfer_expiry)
{{ lang('Expiry time control', 'plans') }}
@endif @if ($monthlyPlan->transfer_link)
{{ lang('Generate transfer links', 'plans') }}
@endif @if (!$monthlyPlan->advertisements)
{{ lang('No Advertisements', 'plans') }}
@endif @if ($monthlyPlan->custom_features) @foreach ($monthlyPlan->custom_features as $custom_feature)
{{ $custom_feature->name }}
@endforeach @endif
{!! planButton($monthlyPlan) !!}
@endforeach
@else
{{ lang('No monthly plans available', 'plans') }}
@endif
@if ($yearlyPlans->count() > 0 || $lifetimePlans->count() > 0)
@if ($yearlyPlans->count() > 0)
@foreach ($yearlyPlans as $yearlyPlan)
{!! planBadge($yearlyPlan->id) !!}

{{ $yearlyPlan->name }}

{{ $yearlyPlan->short_description }}

@if ($yearlyPlan->price != 0) {{ currencySymbol() }} {{ price($yearlyPlan->price) }} / @if ($yearlyPlan->interval == 0) {{ lang('month', 'plans') }} @elseif($yearlyPlan->interval == 1) {{ lang('year', 'plans') }} @elseif($yearlyPlan->interval == 2) {{ lang('lifetime', 'plans') }} @endif @else {{ lang('free') }} @endif
@if ($yearlyPlan->storage_space) {{ formatBytes($yearlyPlan->storage_space) }} {{ lang('Storage Space', 'plans') }} @else {{ lang('Unlimited', 'plans') }} {{ lang('Storage Space', 'plans') }} @endif
@if ($yearlyPlan->transfer_size) {{ formatBytes($yearlyPlan->transfer_size) }} {{ lang('Size per transfer', 'plans') }} @else {{ lang('Unlimited', 'plans') }} {{ lang('Size per transfer', 'plans') }} @endif
@if ($yearlyPlan->transfer_interval) {{ lang('Files available for', 'plans') }} {{ $yearlyPlan->transfer_interval }} {{ $yearlyPlan->transfer_interval > 1 ? lang('days') : lang('day') }} @else {{ lang('Files available for', 'plans') }} {{ lang('Unlimited time', 'plans') }} @endif
@if ($yearlyPlan->transfer_password)
{{ lang('Password protection', 'plans') }}
@endif @if ($yearlyPlan->transfer_notify)
{{ lang('Email notification', 'plans') }}
@endif @if ($yearlyPlan->transfer_expiry)
{{ lang('Expiry time control', 'plans') }}
@endif @if ($yearlyPlan->transfer_link)
{{ lang('Generate transfer links', 'plans') }}
@endif @if (!$yearlyPlan->advertisements)
{{ lang('No Advertisements', 'plans') }}
@endif @if ($yearlyPlan->custom_features) @foreach ($yearlyPlan->custom_features as $custom_feature)
{{ $custom_feature->name }}
@endforeach @endif
{!! planButton($yearlyPlan) !!}
@endforeach
@else
{{ lang('No yearly plans available', 'plans') }}
@endif
@endif @if ($lifetimePlans->count() > 0)
@if ($lifetimePlans->count() > 0)
@foreach ($lifetimePlans as $lifetimePlan)
{!! planBadge($lifetimePlan->id) !!}

{{ $lifetimePlan->name }}

{{ $lifetimePlan->short_description }}

@if ($lifetimePlan->price != 0) {{ currencySymbol() }} {{ price($lifetimePlan->price) }} / @if ($lifetimePlan->interval == 0) {{ lang('month', 'plans') }} @elseif($lifetimePlan->interval == 1) {{ lang('year', 'plans') }} @elseif($lifetimePlan->interval == 2) {{ lang('lifetime', 'plans') }} @endif @else {{ lang('free') }} @endif
@if ($lifetimePlan->storage_space) {{ formatBytes($lifetimePlan->storage_space) }} {{ lang('Storage Space', 'plans') }} @else {{ lang('Unlimited', 'plans') }} {{ lang('Storage Space', 'plans') }} @endif
@if ($lifetimePlan->transfer_size) {{ formatBytes($lifetimePlan->transfer_size) }} {{ lang('Size per transfer', 'plans') }} @else {{ lang('Unlimited', 'plans') }} {{ lang('Size per transfer', 'plans') }} @endif
@if ($lifetimePlan->transfer_interval) {{ lang('Files available for', 'plans') }} {{ $lifetimePlan->transfer_interval }} {{ $lifetimePlan->transfer_interval > 1 ? lang('days') : lang('day') }} @else {{ lang('Files available for', 'plans') }} {{ lang('Unlimited time', 'plans') }} @endif
@if ($lifetimePlan->transfer_password)
{{ lang('Password protection', 'plans') }}
@endif @if ($lifetimePlan->transfer_notify)
{{ lang('Email notification', 'plans') }}
@endif @if ($lifetimePlan->transfer_expiry)
{{ lang('Expiry time control', 'plans') }}
@endif @if ($lifetimePlan->transfer_link)
{{ lang('Generate transfer links', 'plans') }}
@endif @if (!$lifetimePlan->advertisements)
{{ lang('No Advertisements', 'plans') }}
@endif @if ($lifetimePlan->custom_features) @foreach ($lifetimePlan->custom_features as $custom_feature)
{{ $custom_feature->name }}
@endforeach @endif
{!! planButton($lifetimePlan) !!}
@endforeach
@else
{{ lang('No lifetime plans available', 'plans') }}
@endif
@endif