@extends('reseller.layouts.app') @section('title', 'চেকআউট') @section('page-title', 'চেকআউট') @push('styles') @endpush @section('content')
@php $__gsCoReseller = \App\Models\GeneralSetting::where('status', 1)->first(); $__resCheckoutOtpPending = session('chkotp_reseller_pending'); $__checkoutOtpDraft = session('chkotp_reseller_draft', []); $__showResellerCheckoutOtpModal = $__gsCoReseller && ($__gsCoReseller->checkout_otp_enabled ?? 0) == 1 && $__resCheckoutOtpPending; $__otpFieldValue = session('checkout_otp_cleared') ? '' : old('checkout_otp'); @endphp
@csrf @if(!empty($__showResellerCheckoutOtpModal) && !empty($__checkoutOtpDraft)) @foreach(['division_id', 'district_id', 'upazila_id', 'payment_method', 'manual_trx_id', 'manual_sender_number', 'order_note'] as $__draftKey) @if(!empty($__checkoutOtpDraft[$__draftKey])) @endif @endforeach @endif
{{-- LEFT COLUMN: Shipping & Payment --}}
{{-- SHIPPING INFO CARD --}}
কাস্টমার তথ্য
@if($requires_shipping)
@else
@endif
{{-- PAYMENT METHOD CARD --}}
পেমেন্ট মেথড নির্বাচন করুন
{{-- Advance Payment Warning --}} @if($hasAdvance)
অগ্রিম পেমেন্ট প্রয়োজন!

এই অর্ডারে ৳ {{ number_format($advanceAmount, 2) }} অগ্রিম পেমেন্ট করতে হবে।

অবশিষ্ট ৳ {{ number_format($dueAmount, 2) }} ডেলিভারির সময় পরিশোধ করতে হবে।

@endif {{-- Payment Options List --}}
{{-- COD Option --}} @if(!$hasDigital && !$hasAdvance) @elseif(!$hasDigital && $hasAdvance) {{-- COD disabled for advance payment --}} @endif {{-- Bkash --}} @if($bkash_gateway) @endif {{-- ShurjoPay --}} @if($shurjopay_gateway) @endif {{-- UddoktaPay --}} @if($uddoktapay_gateway) @endif {{-- aamarPay --}} @if($aamarpay_gateway) @endif @foreach($manual_gateways ?? [] as $mg) @endforeach
{{-- Error message placeholder --}}
{{-- RIGHT SIDE: Order Summary --}}
@if(!empty($__showResellerCheckoutOtpModal))
@csrf
@endif
@endsection @push('scripts') @if(!empty($__showResellerCheckoutOtpModal)) @endif @endpush