@extends('backend.master') @section('title') {{ @$data['title'] }} @endsection @section('content')
{{-- bradecrumb Area S t a r t --}} {{-- bradecrumb Area E n d --}} @if (!activeSubscriptionExpiryDate()) @endif

{{ $data['title'] }}

{{ ___('common.Upgrade') }}
@forelse ($data['subscriptions'] as $key => $row) {{-- --}} @empty @endforelse
{{ ___('common.sr_no') }} {{ ___('common.Plan') }} {{ ___('common.Price') }} {{ ___('common.Limit') }} {{ ___('common.Purchase Date') }} {{ ___('common.Date of Expire') }} {{ ___('common.Trx ID') }} {{ ___('common.Method') }} {{ ___('common.Status') }}
{{ $loop->iteration }} {{ @$row->name }} {{ @$row->price }}
Student: @if ($row->payment_type == \Modules\MainApp\Enums\PackagePaymentType::PREPAID) {{ $row->student_limit }} @else {{ ___('common.Unlimited') }} @endif Staff: @if ($row->payment_type == \Modules\MainApp\Enums\PackagePaymentType::PREPAID) {{ $row->staff_limit }} @else {{ ___('common.Unlimited') }} @endif
{{ dateFormat(@$row->created_at) }} {{ $row->expiry_date ? dateFormat(@$row->expiry_date) : ___('common.Lifetime') }} {{ @$row->trx_id }} {{ @$row->method }} @if (!activeSubscriptionExpiryDate()) {{ ___('common.Expired') }} @elseif ($row->status == App\Enums\Status::ACTIVE) {{ ___('common.active') }} @else {{ ___('common.inactive') }} @endif {{ @$row->features_name }}

{{ ___('common.no_data_available') }}

{{ ___('common.please_add_new_entity_regarding_this_table') }}

{{ ___('common.Package Details') }}

@forelse (@$data['activeSubscription']->features_name as $key => $value) @empty @endforelse
{{ ___('common.sr_no') }} {{ ___('common.Features') }}
{{ $loop->iteration }} {{ $value }}

{{ ___('common.no_data_available') }}

{{ ___('common.please_add_new_entity_regarding_this_table') }}

@endsection @push('script') @include('backend.partials.delete-ajax') @endpush