@lang('modules.package.packageName'): {{ $restaurant->package?->package_name ?? __('messages.noPackageFound') }}
@lang('modules.package.packageType'): {{ ucfirst($restaurant?->package_type) }}({{ ucfirst($restaurant->package?->package_type->value) }})
@if ($restaurant->package?->package_type->value == 'trial')@lang('modules.package.trialExpireOn'): {{ $restaurant?->trial_ends_at ? \Carbon\Carbon::parse($restaurant->trial_ends_at)->format('D, d M Y') : '--' }}
@elseif ($restaurant->package?->package_type->value != 'lifetime')@lang('modules.package.licenceExpiresOn'): {{ optional($restaurant->license_expire_on)->format('D, d M Y') ?? '--' }}
@endif@lang('sms::modules.package.unlimitedMessagesAllowed')
@else {{ $packageSmsCount }}@lang('sms::modules.package.totalSmsInPackage')
@endif@if($packageSmsCount != -1) @php $usagePercent = $packageSmsCount > 0 ? round(($usedSmsCount / $packageSmsCount) * 100, 1) : 0; @endphp {{ $usagePercent }}% @lang('sms::modules.package.ofPackageUsed') @endif
| # | @lang('modules.settings.branchName') | @lang('modules.settings.branchAddress') | @lang('modules.order.totalOrder') |
|---|---|---|---|
| {{ $loop->index+1 }} | {{ $item->name }} | {{ $item->address }} | {{ $item->orders_count }} |
@lang('sms::modules.sms.currentSmsBalance'): {{ $packageSmsCount == -1 ? '∞ (Unlimited)' : $packageSmsCount }}
@lang('sms::modules.sms.usedSms'): {{ $usedSmsCount }}