@if(!empty($active_subscription))
@if($active_subscription->package_details['no_of_active_forms'] == 0)
@lang('messages.unlimited_forms')
@endif
@if($active_subscription->package_details['is_form_downloadable'])
@lang('messages.form_code_download')
@else
@lang('messages.form_code_download')
@endif
@lang('messages.package_activated_on', ['date' => \Carbon\Carbon::parse($active_subscription->start_date)->isoFormat("D/M/YY")])
@lang('messages.remaining_days', ['days' => \Carbon\Carbon::today()->diffInDays($active_subscription->end_date)])
@lang('messages.package_expire_on', ['date' => \Carbon\Carbon::parse($active_subscription->end_date)->isoFormat("D/M/YY")])
@else
@lang('messages.no_active_subscription')
@endif
@if(!empty($upcoming_subscriptions))
@foreach($upcoming_subscriptions as $upcoming_subscription)
@if($upcoming_subscription->package_details['no_of_active_forms'] != 0)
@lang('messages.no_of_forms',[
'active_form' => $upcoming_subscription->package_details['no_of_active_forms']])
@else
@lang('messages.unlimited_forms')
@endif
@if($upcoming_subscription->package_details['is_form_downloadable'])
@lang('messages.form_code_download')
@else
@lang('messages.form_code_download')
@endif
@lang('messages.package_starts_on', ['date' => \Carbon\Carbon::parse($upcoming_subscription->start_date)->isoFormat("D/M/YY")])
@lang('messages.package_expire_on', ['date' => \Carbon\Carbon::parse($upcoming_subscription->end_date)->isoFormat("D/M/YY")])
@if($loop->iteration%3 == 0)
@endif
@endforeach
@endif
@if(!empty($waiting_subscriptions))
@foreach($waiting_subscriptions as $waiting_subscription)
@if($waiting_subscription->package_details['no_of_active_forms'] != 0)
@lang('messages.no_of_forms',[
'active_form' => $waiting_subscription->package_details['no_of_active_forms']])
@else
@lang('messages.unlimited_forms')
@endif
@if($waiting_subscription->package_details['is_form_downloadable'])
@lang('messages.form_code_download')
@else
@lang('messages.form_code_download')
@endif
@lang('messages.package_starts_on', ['date' => \Carbon\Carbon::parse($waiting_subscription->start_date)->isoFormat("D/M/YY")])
@lang('messages.package_expire_on', ['date' => \Carbon\Carbon::parse($waiting_subscription->end_date)->isoFormat("D/M/YY")])
@if($loop->iteration%3 == 0)
@endif
@endforeach
@endif