<?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 cart_pg section">
            <div class="container">
                <div class="">
                    <form method="post" action="<?php echo e($action); ?>" onsubmit="formAction(this)">
                        <?php echo csrf_field(); ?>
                        <div class="row">
                            <div class="col-lg-6">
                                <div class="sec_head mb-5 ">
                                    <h2 class="fs-1 fw-bold color-primary">     <?php echo e(__('web.way_pay')); ?>   </h2>
                                </div>
                                <div class="box">
                                    <div class="pay-options">
                                        <div class="row justify-content-center">
                                            <?php if(count($ways)): ?>
                                                <?php $__currentLoopData = $ways; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <div class="col-6">
                                                        <div class="form-check mb-4">
                                                            <input class="form-check-input" type="radio" name="way_id"  id="payType<?php echo e($row->id); ?>" value="<?php echo e($row->id); ?>" >
                                                            <label class="form-check-label" for="payType<?php echo e($row->id); ?>">
                                                                <img src="<?php echo e(asset($row->image)); ?>" class="sm_img" alt="">
                                                                <?php echo e($row->title); ?>

                                                            </label>
                                                        </div>
                                                    </div>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php else: ?>
                                                <?php echo $__env->make('web.pages.components.not_found',['message'=>__('web.not_found_way_pay')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                            <?php endif; ?>

                                        </div>


                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-6">
                                <div class="sec_head mb-5 ">
                                    <h2 class="fs-1 fw-bold color-primary">    <?php echo e(__('web.shipping_way')); ?>     </h2>
                                </div>
                                <div class="box">
                                    <div class="pay-options">
                                        <div class="row justify-content-center">
                                            <?php if(count($shippings)): ?>
                                                <?php $__currentLoopData = $shippings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                    <div class="col-lg-6 col-6">
                                                        <div class="form-check mb-4">
                                                            <input class="form-check-input" type="radio" name="shipping_id"  id="shippingType<?php echo e($row->id); ?>" value="<?php echo e($row->id); ?>">
                                                            <label class="form-check-label" for="shippingType<?php echo e($row->id); ?>">
                                                                <img src="<?php echo e(asset($row->image)); ?>" class="sm_img" alt="">
                                                                <?php echo e($row->title); ?>

                                                            </label>
                                                        </div>
                                                    </div>
                                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php else: ?>
                                                <?php echo $__env->make('web.pages.components.not_found',['message'=>__('web.not_found_shipping')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                                            <?php endif; ?>
                                        </div>


                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="butns mt-5 d-flex justify-content-center align-items-center">
                            <a href="<?php echo e(route('web.checkout.address')); ?>" class="butn gray_butn color-primary">
                                <i class="fa-solid fa-angle-right ms-0 me-2"></i> <?php echo e(__('web.back')); ?>

                            </a>
                            <button type="submit" class="butn primary_butn ms-4">
                                <?php echo e(__('web.ordering')); ?><i class="fa-solid fa-angle-left"></i>
                            </button>
                        </div>

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



    </main>

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

<?php $__env->startSection('inject_js'); ?>
<?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/flower/resources/views/web/pages/orders/checkout_way.blade.php ENDPATH**/ ?>