@assets @endassets @if($latestSubscription)
@lang('modules.package.restaurantCurrentPackage')
{{ __('modules.package.packageDetails') }}
{{ $latestSubscription->package->package_name}}
{{ __('modules.package.packageType') }}
{{ $latestSubscription->package_type }} Plan
{{ __('modules.package.amount') }}
{{ $latestSubscription->currency->currency_symbol }}{{ number_format($latestSubscription->total, 2) }}
{{ __('modules.package.paymentDate') }}
{{ $latestSubscription->subscribed_on_date ? \Carbon\Carbon::parse($latestSubscription->subscribed_on_date)->format('d-m-Y') : '--' }}
{{ __('modules.package.nextPaymentDate') }}
{{ $latestSubscription->next_pay_date?->format('d-m-Y') ?? '--' }}
{{ __('modules.package.licenceExpiresOn') }}
{{ $latestSubscription->ends_at ? $latestSubscription->ends_at->format('d-m-Y') : '--' }}
@endif

{{ __('modules.package.updatePackage') }}

@foreach($packages as $package) @endforeach
@if($packageType)
@if($selectedPackage->is_free) @if($selectedPackage->package_type === App\Enums\PackageType::TRIAL) @else @endif @endif @if($selectedPackage->package_type === App\Enums\PackageType::LIFETIME) @endif @if($packageMonthlyStatus) @endif @if($packageAnnualStatus) @endif
@endif @if($packageType === App\Enums\PackageType::TRIAL)
@else
@endif {{ __('modules.package.updatePackage') }}