@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ $restaurant->currency->currency_symbol . $subTotal }}
@foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ $restaurant->currency->currency_symbol . (($item->tax_percent / 100) * $subTotal) }}
@endforeach
@lang('modules.order.total')
{{ $restaurant->currency->currency_symbol . $total }}
@if (is_null($customer) && ($restaurant->customer_login_required || $orderType == 'delivery'))
@lang('app.next')
@else
@php
$isPaymentEnabled = in_array($orderType, ['dine_in', 'delivery', 'pickup']) &&
($orderType == 'dine_in' && $paymentGateway->is_dine_in_payment_enabled ||
$orderType == 'delivery' && $paymentGateway->is_delivery_payment_enabled ||
$orderType == 'pickup' && $paymentGateway->is_pickup_payment_enabled);
@endphp
@if ($paymentGateway->stripe_status || $paymentGateway->razorpay_status)
@lang('modules.order.payNow')
@if (!$isPaymentEnabled)
@lang('modules.order.payLater')
@endif
@else
@lang('modules.order.placeOrder')
@endif
@endif