@if ($restaurant_subscription && $restaurant_subscription?->package_id == $package->id) @else @endif
@if ($restaurant_model == 'commission' )

{{ translate('commission') }}

{{ $admin_commission }} %

@elseif( $restaurant_subscription && !in_array($restaurant_model,['commission','none']))

{{ $restaurant_subscription?->package?->package_name }}

{{ \App\CentralLogics\Helpers::format_currency($restaurant_subscription?->package?->price) }}

{{ $restaurant_subscription?->package?->validity }} {{ translate('days') }}
@if ( $restaurant_subscription?->package_id != $package->id )
@endif @endif @if ( $restaurant_subscription && $restaurant_subscription?->package_id !== $package->id || $restaurant_model == 'commission' )

{{$package->package_name }}

{{ \App\CentralLogics\Helpers::format_currency($package?->price) }}

{{ $package?->validity }} {{ translate('days') }}
@endif @if ( !$restaurant_subscription && $restaurant_model == 'unsubscribed' )

{{$package->package_name }}

{{ \App\CentralLogics\Helpers::format_currency($package?->price) }}

{{ $package?->validity }} {{ translate('days') }}
@endif
{{ translate('Validity') }}

{{ $package?->validity }} {{ translate('days') }}

{{ translate('Price') }}

{{ \App\CentralLogics\Helpers::format_currency($package?->price) }}

@if ($pending_bill)
{{ translate('pending_bill') }}

{{ \App\CentralLogics\Helpers::format_currency($pending_bill) }}

@endif
{{ translate('Bill_status') }}

{{ $restaurant_model != 'commission' && $restaurant_subscription?->package_id == $package->id ? translate('Renew') : translate('Migrate_to_new_plan') }}

@if (data_get($cash_backs,'back_amount') > 0 )
{{ translate('You will get') }} {{ \App\CentralLogics\Helpers::format_currency(data_get($cash_backs,'back_amount')) }} {{ translate('to_your_wallet_for_remaining') }} {{ data_get($cash_backs,'days') }} {{ translate('messages.days_subscription_plan') }}
@endif
@csrf @method('POST')

{{ translate('Pay Via Online') }} ({{ translate('Faster & secure way to pay bill') }})

@if ($balance > 0)
@endif
@if ( $restaurant_model != 'commission' && $restaurant_subscription && $restaurant_subscription?->package_id == $package->id) @else @endif