@lang('modules.restaurant.restaurantDetails')

{{ $restaurant->name }}

{{ $restaurant->name }} {{ __('app.impersonate') }} {{ __('app.impersonateTooltip') }}

@if(module_enabled('Subdomain')) @endif
{!! nl2br(e($restaurant->address)) !!}

@lang('modules.restaurant.currentPackage')

@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
{{-- Manage button --}}
@lang('app.id')
  • {{ $restaurant->id }}
@lang('app.status')
  • @if ($restaurant->is_active == true) @lang('app.active') @else @lang('app.inactive') @endif
@lang('modules.restaurant.phone')
  • {{ $restaurant->phone_code ? '+' . $restaurant->phone_code . ' ' . $restaurant->phone_number : $restaurant->phone_number }}
@lang('modules.restaurant.email')
  • {{ $restaurant->email }}
@lang('modules.settings.restaurantTimezone')
  • {{ $restaurant->timezone }}
@lang('modules.settings.restaurantCountry')
  • {{ $restaurant->country->countries_name }}
@lang('modules.settings.restaurantCurrency')
  • {{ $restaurant?->currency?->currency_name }} ({{ $restaurant?->currency?->currency_code }})
@lang('app.dateTime')
  • {{ $restaurant->created_at->timezone(global_setting()->timezone ?? 'Asia/Kolkata')->translatedFormat('D, d M Y, h:i A') }}
@if ($restaurantAdmin)
@lang('modules.restaurant.firstAdmin')
Bonnie image
{{ $restaurantAdmin->name }}
{{ $restaurantAdmin->email }}
@lang('modules.restaurant.changePassword')
@else
@lang('messages.noAdminFound')
@endif
@php $restaurantHasSms = false; if ($restaurant->package) { $packageModules = $restaurant->package->modules->pluck('name')->toArray(); $additionalFeatures = json_decode($restaurant->package->additional_features ?? '[]', true); $allModules = array_unique(array_merge($packageModules, $additionalFeatures)); $restaurantHasSms = in_array('Sms', $allModules); } @endphp @if(module_enabled('Sms') && $restaurantHasSms)

@lang('sms::modules.menu.smsSettings')

@if($packageSmsCount != -1) @lang('sms::modules.sms.addSmsTopup') @endif

@lang('sms::modules.package.packageLimit')

@if($packageSmsCount == -1) @lang('sms::modules.package.unlimited') @else @if($isSmsLimitReached) @lang('sms::modules.package.exhausted') @else @lang('sms::modules.package.active') @endif @endif
@if($packageSmsCount == -1)

@lang('sms::modules.package.unlimitedMessagesAllowed')

@else {{ $packageSmsCount }}

@lang('sms::modules.package.totalSmsInPackage')

@endif

@lang('sms::modules.package.usedSmsCount')

{{ $usedSmsCount }}

@if($packageSmsCount != -1) @php $usagePercent = $packageSmsCount > 0 ? round(($usedSmsCount / $packageSmsCount) * 100, 1) : 0; @endphp {{ $usagePercent }}% @lang('sms::modules.package.ofPackageUsed') @endif

@endif

@lang('modules.settings.branches')

@foreach ($restaurant->branches as $item) @endforeach
# @lang('modules.settings.branchName') @lang('modules.settings.branchAddress') @lang('modules.order.totalOrder')
{{ $loop->index+1 }} {{ $item->name }} {{ $item->address }} {{ $item->orders_count }}
{{-- PAYMENTS--}}

@lang('menu.payments')

@lang('modules.restaurant.changePassword')
@csrf
@lang('app.save')
@lang('app.cancel')
@lang('sms::modules.sms.addSmsTopup')

@lang('sms::modules.sms.currentSmsBalance'): {{ $packageSmsCount == -1 ? '∞ (Unlimited)' : $packageSmsCount }}

@lang('sms::modules.sms.usedSms'): {{ $usedSmsCount }}

@lang('app.cancel') @lang('sms::modules.sms.addTopup')