{{-- ─────────────────────────────────────── the app --}}
@if ($logo) @else @endif
{{ __('Save') }}
{{-- ─────────────────────────────────── delivery price --}} @can('edit pricing settings')
{{-- null is a real state - no night rate - so it is a switch, not two empty boxes that quietly mean it --}}
@if ($nightEnabled)
@else

{{ __('Off. The same price day and night.') }}

@endif
{{ __('Peak hours') }}

{{ __('Busy windows within one day, each with its own multiplier.') }}

{{ __('Add a peak hour') }}
@forelse ($peakHours as $i => $peak)
{{ __('Remove') }}
@empty

{{ __('None. Prices do not change with the hour.') }}

@endforelse
{{ __('Demand') }}

{{ __('Switch one level on when you are overwhelmed; at most one is charged at a time.') }}

@foreach ($demandLevels as $level)
@endforeach
{{ __('Save prices') }}
@endcan {{-- ───────────────────────────────────────── dispatch --}} @can('edit dispatch settings')
{{ __('Save dispatch') }}
@endcan
{{-- the platform's, not the restaurant's: on this row, but set by the admin --}}
{{ __('Commission') }}
{{ (float) $commission }}%
{{ __('App bundle') }}
{{ $restaurant->bundle_id ?? '—' }}
{{ __('Client app') }}
{{ $platform->user_app_version ?: '—' }}
{{ __('Restaurant app') }}
{{ $platform->restaurant_app_version ?: '—' }}

{{ __('Commission is taken from your wallet when an order is delivered, on the goods subtotal - never on the delivery fee, which is the driver’s.') }}

{{ __('Topped up by the platform when you pay your subscription. At zero, your app stops taking orders.') }}

@can('view restaurant wallet') {{ __('See the history') }} @endcan