<?php $__env->startSection('content'); ?>

    <main>
        <!-- Start pg_header -->
        <?php echo $__env->make('web.pages.components.header.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>


        <section class="checkout_pg section">
            <div class="container">
                <form class="row" action="<?php echo e($action); ?>" method="post" onsubmit="formAction(this)" id="calculate">
                    <?php echo csrf_field(); ?>
                    <div class="col-lg-12">
                        <div class="box mb-5">
                            <div class="row">
                                <div class="col-lg-3">
                                    <div class="data-group">
                                        <span class="label color-gray2"><?php echo e(__('web.order_date')); ?>  </span>
                                        <p class="data mb-0">  <?php echo e($date); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <div class="data-group">
                                        <span class="label color-gray2">  <?php echo e(__('web.address')); ?>  </span>
                                        <p class="data mb-0">     <?php echo e($address->address); ?>     </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <div class="data-group">
                                        <span class="label color-gray2">   <?php echo e(__('web.way_pay')); ?>  </span>
                                        <p class="data mb-0"> <?php echo e($way->title); ?>     </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <div class="data-group">
                                        <span class="label color-gray2">   <?php echo e(__('web.shipping_way')); ?>  </span>
                                        <p class="data mb-0"> <?php echo e($shipping->title); ?>     </p>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="col-lg-4">
                        <div class="box mb-5">
                            <h2 class="sec_title bb fw-bold mb-4"> <?php echo e(__('web.note')); ?>    </h2>
                            <textarea name="note" class="form-control" placeholder="<?php echo e(__('web.order_note')); ?>" rows="5"></textarea>
                        </div>
                        <div class="box mb-5">
                            <h2 class="sec_title bb fw-bold mb-4"> <?php echo e(__('web.coupon')); ?>    </h2>
                            <div class="copoun_box">
                                <input type="text" class="form-control" name="coupon" onchange="calculate()" placeholder="<?php echo e(__('web.enter_code')); ?>" />
                                <button type="button" class="apply_butn butn primary_butn"><?php echo e(__('web.apply')); ?></button>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-8">
                        <div class="box mb-5 pt-0" id="cart">
                        </div>
                    </div>

                    <div class="butns d-flex align-items-center justify-content-center">
                        <a href="<?php echo e(route('web.checkout.way')); ?>" class="butn primary_border_butn me-2"> <?php echo e(__('web.back')); ?>  </a>
                        <button type="submit" class="butn primary_butn">
                            <?php echo e(__('web.ordering')); ?>

                        </button>
                    </div>
                </form>
            </div>
        </section>

    </main>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('inject_js'); ?>
    <script>
        let url_calculate = "<?php echo e(route('web.cart.calculate')); ?>"
    </script>
    <script src="<?php echo e(url('')); ?>/assets/web/js/custom/cart.js"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/electric/resources/views/web/pages/orders/checkout_order.blade.php ENDPATH**/ ?>