@extends('layouts.admin.app') @section('title',$store->name."'s ".translate('messages.Subscription')) @push('css_or_js') @endpush @section('content')
@include('rental::admin.provider.details.partials._header',['store'=>$store]) @php $vendor = $store?->module_type; $title = $vendor == 'rental' ? 'Provider' : 'Store'; $orderOrTrip = $vendor == 'rental' ? 'trip' : 'order'; @endphp @if ($store->store_business_model == 'commission' && \App\CentralLogics\Helpers::commission_check())

{{ translate('Overview') }}

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

{{ $store->comission > 0 ? $store->comission : $admin_commission }} % {{ translate('messages.Commission_per_'.$orderOrTrip) }}

{{ translate($title . ' will pay') }} {{ $store->comission > 0 ? $store->comission : $admin_commission }}% {{ translate('commission to') }} {{ $business_name }} {{ translate('from each '.$orderOrTrip.'. You will get access of all the features and options in '.$title.' panel , app and interaction with user.') }}
@csrf @method("post")
comission)?'':'readonly'}}>
@if (\App\CentralLogics\Helpers::subscription_check() )
@endif
@elseif (in_array($store->store_business_model,[ 'subscription' ,'unsubscribed']) && $store?->store_sub_update_application)

{{ translate('Billing') }}

{{ translate('Package Overview') }} @if($store?->status == 0 && $store?->vendor?->status == 0)   {{ translate('Approval_Pending') }}   @elseif($store?->store_sub_update_application?->status == 0)   {{ translate('Expired') }}   @elseif ($store?->store_sub_update_application?->is_canceled == 1)   {{ translate('canceled') }}   @elseif($store?->store_sub_update_application?->status == 1)   {{ translate('Active') }}   @endif

{{ $store?->store_sub_update_application?->package?->package_name }}

{{ $store?->store_sub_update_application?->package?->text }}

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

@if ( $store?->store_sub_update_application?->mobile_app == 1 ) @else @endif {{ translate('messages.Mobile_App') }}
@if ( $store?->store_sub_update_application?->review == 1 ) @else @endif {{ translate('messages.review') }}
@if ( $store?->store_sub_update_application?->chat == 1 ) @else @endif {{ translate('messages.chat') }}
@if ( $store?->store_sub_update_application?->max_order == 'unlimited' ) {{ translate('messages.unlimited_trips') }} @else {{ $store?->store_sub_update_application?->package?->max_order }} {{ translate('messages.Trips') }} ({{ $store?->store_sub_update_application?->max_order }} {{ translate('left') }}) @endif
@if ( $store?->store_sub_update_application?->max_product == 'unlimited' ) {{ translate('messages.unlimited_vehicle_Upload') }} @else {{ $store?->store_sub_update_application?->max_product }} {{ translate('messages.vehicle_Upload') }} ({{ $store?->store_sub_update_application?->max_product - $store->vehicles_count > 0 ? $store?->store_sub_update_application?->max_product - $store->vehicles_count : 0 }} {{ translate('left') }}) @endif
@if ( $store?->store_sub_update_application?->is_canceled == 0 && $store?->store_sub_update_application?->status == 1 ) @endif
@else
img

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

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

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