@extends('layouts.vendor.app') @section('title',translate('messages.Restaurant_Subscription')) @section('subscriberList') active @endsection @push('css_or_js') @endpush @section('content')
@if ($restaurant->restaurant_model == 'commission' && \App\CentralLogics\Helpers::commission_check()) @if ($restaurant->restaurant_all_sub_trans_count > 0)
@endif

{{ translate('messages.Plan_Overview') }}

{{--

{{ translate('messages.Default Input Fields') }}

--}}

{{ translate('messages.Commission Base Plan') }}

{{ translate('messages.Restaurant will pay') .' '. ($restaurant->comission > 0 ? $restaurant->comission : $admin_commission) .'% '. translate('Commission to ' . \App\CentralLogics\Helpers::get_business_settings('business_name') . ' From each order. You will get access of all the features and options in restaurant panel , app and interaction with user.') }}

{{ $restaurant->comission > 0 ? $restaurant->comission : $admin_commission }} %

{{ translate('messages.Commission Per Order') }}

@if (\App\CentralLogics\Helpers::subscription_check() )
@endif
@elseif (in_array($restaurant->restaurant_model,[ 'subscription' ,'unsubscribed']) && $restaurant?->restaurant_sub_update_application)

{{ translate('Billing') }}

{{ translate('Package Overview') }}

{{ $restaurant?->restaurant_sub_update_application?->package?->package_name }}

{{ $restaurant?->restaurant_sub_update_application?->package?->text }}

{{ \App\CentralLogics\Helpers::format_currency($restaurant?->restaurant_sub_update_application?->last_transcations?->price ?? $restaurant?->restaurant_sub_update_application?->package?->price) }} / {{ $restaurant?->restaurant_sub_update_application?->last_transcations?->validity ?? $restaurant?->restaurant_sub_update_application?->package?->validity }} {{ translate('messages.Days') }}

{{translate('unlimited_orders')}} @if ( $restaurant?->restaurant_sub_update_application?->max_order == 'unlimited' ) {{ translate('messages.unlimited_orders') }} @else {{ $restaurant?->restaurant_sub_update_application?->package?->max_order }} {{ translate('messages.Orders') }} ({{ $restaurant?->restaurant_sub_update_application?->max_order }} {{ translate('left') }}) @endif
@if ( $restaurant?->restaurant_sub_update_application?->pos == 1 ) {{translate('POS')}} @else {{translate('POS')}} @endif {{ translate('messages.POS') }}
@if ( $restaurant?->restaurant_sub_update_application?->mobile_app == 1 ) {{translate('mobile_app')}} @else {{translate('mobile_app')}} @endif {{ translate('messages.Mobile_App') }}
@if ( $restaurant?->restaurant_sub_update_application?->self_delivery == 1 ) {{translate('self_delivery')}} @else {{translate('self_delivery')}} @endif {{ translate('messages.self_delivery') }}
{{translate('max_product')}} @if ( $restaurant?->restaurant_sub_update_application?->max_product == 'unlimited' ) {{ translate('messages.unlimited_item_Upload') }} @else {{ $restaurant?->restaurant_sub_update_application?->max_product }} {{ translate('messages.product_Upload') }} ({{ $restaurant?->restaurant_sub_update_application?->max_product - $restaurant->foods_count > 0 ? $restaurant?->restaurant_sub_update_application?->max_product - $restaurant->foods_count : 0 }} {{ translate('left') }}) @endif
@if ( $restaurant?->restaurant_sub_update_application?->review == 1 ) {{translate('review')}} @else {{translate('review')}} @endif {{ translate('messages.review') }}
@if ( $restaurant?->restaurant_sub_update_application?->chat == 1 ) {{translate('chat')}} @else {{translate('chat')}} @endif {{ translate('messages.chat') }}
@if ($restaurant?->restaurant_sub_update_application?->is_canceled == 0 && $restaurant?->restaurant_sub_update_application?->status == 1) @endif
@else
img

{{translate('Chose Business Plan')}}

{{translate('Chose a Business Plan from the list. So that Restaurants get more options to join the business for the growth and success.')}}

@endif
@endsection @push('script_2') @endpush