{{-- resources/views/checkout_fresh.blade.php --}} Checkout - {{ $appName ?? config('app.name') }} @php $currencySymbol = App\Models\AppSetting::getValue('currency_symbol', '?'); @endphp @if($gatewayEnabled && $gatewayProvider === 'razorpay') @elseif($gatewayEnabled && $gatewayProvider === 'cashfree') @endif @include('partials.public-blade-polish')
@if($restaurant->acceptsService('delivery') || $restaurant->acceptsService('takeaway'))
Order Type
@if($restaurant->acceptsService('delivery'))
Delivery
Bring it to my address
@endif @if($restaurant->acceptsService('takeaway'))
Takeaway
I will pick it up
@endif
@endif
Saved Addresses
@auth @foreach(Auth::user()->addresses ?? array() as $address)
{{ $address->name ?? 'Home' }}
{{ $address->address }}, {{ $address->city }}, {{ $address->pincode }}
{{ $address->phone }}
@endforeach @endauth
Payment Method
@if($gatewayEnabled)
Online Payment
Checkout via {{ ucfirst($gatewayProvider) }}
@endif
Cash on Delivery
Pay when you receive
Wallet
Balance: {{ $currencySymbol }}{{ number_format($walletBalance, App\Models\AppSetting::currencyDecimals()) }}
@if(!$gatewayEnabled)
Online payments are currently disabled by admin settings. You can still use Cash on Delivery or Wallet.
@endif
Apply Coupon
@if(($availableCoupons ?? collect())->isNotEmpty())
@foreach($availableCoupons as $coupon)
@if($coupon->discount_type === 'percentage') {{ number_format((float) $coupon->discount_value, 0) }}% OFF @else {{ $currencySymbol }}{{ number_format((float) $coupon->discount_value, App\Models\AppSetting::currencyDecimals()) }} OFF @endif
{{ $coupon->title ?: 'Available offer' }}
{{ \Illuminate\Support\Str::limit($coupon->description ?: 'Tap to apply this coupon on your bill.', 72) }}
@if((float) $coupon->min_order_amount > 0) Min {{ $currencySymbol }}{{ number_format((float) $coupon->min_order_amount, App\Models\AppSetting::currencyDecimals()) }} @endif @if($coupon->end_date) Ends {{ \Carbon\Carbon::parse($coupon->end_date)->format('M j') }} @endif
{{ $coupon->code }}
@endforeach
@endif
Order Summary

Subtotal {{ $currencySymbol }} 0
Delivery Fee {{ $currencySymbol }} 0
Platform Fee {{ $currencySymbol }} 0
Taxes {{ $currencySymbol }} 0
Total {{ $currencySymbol }} 0
Secure payment protected
@include('partials.web-visit-tracker', ['panel' => 'checkout'])