@extends('layouts.admin.app') @section('title',$restaurant->name."'s ".translate('messages.business_plan')) @push('css_or_js') @endpush @section('content')
@if ($restaurant->restaurant_model == 'commission' && \App\CentralLogics\Helpers::commission_check())

{{ translate('Overview') }}

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

{{ $restaurant->comission > 0 ? $restaurant->comission : $admin_commission }} % {{ translate('messages.Commission_per_order') }}

{{ translate('Restaurant will pay') }} {{ $restaurant->comission > 0 ? $restaurant->comission : $admin_commission }}% {{ translate('commission to') }} {{ $business_name }} {{ translate('from each order. You will get access of all the features and options in restaurant panel , app and interaction with user.') }}
@csrf @method("post")
comission)?'':'readonly'}}>
@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') }} @if($restaurant?->status == 0 && $restaurant?->vendor?->status == 0)   {{ translate('Approval_Pending') }}   @elseif($restaurant?->restaurant_sub_update_application?->status == 0)   {{ translate('Expired') }}   @elseif ($restaurant?->restaurant_sub_update_application?->is_canceled == 1)   {{ translate('canceled') }}   @elseif($restaurant?->restaurant_sub_update_application?->status == 1)   {{ translate('Active') }}   @endif

{{ $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') }}

@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 ) @else @endif {{ translate('messages.POS') }}
@if ( $restaurant?->restaurant_sub_update_application?->mobile_app == 1 ) @else @endif {{ translate('messages.Mobile_App') }}
@if ( $restaurant?->restaurant_sub_update_application?->self_delivery == 1 ) @else @endif {{ translate('messages.self_delivery') }}
@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 ) @else @endif {{ translate('messages.review') }}
@if ( $restaurant?->restaurant_sub_update_application?->chat == 1 ) @else @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