<?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 method="post" action="<?php echo e($action); ?>" onsubmit="formAction(this)" class="row">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-lg-6">
                            <div class="box mb-5">
                                <h2 class="sec_title bb fw-bold mb-5">   <?php echo e(__('web.way_pay')); ?>      </h2>
                                <!-- Payment -->
                                <div class=" mb-0">
                                    <div class="checks_box row">
                                        <?php $__currentLoopData = $ways; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="col">
                                                <div class="form-check mb-3">
                                                    <input class="form-check-input" type="radio" name="way_id" value="<?php echo e($row->id); ?>" id="payRadio<?php echo e($row->id); ?>">
                                                    <label class="form-check-label" for="payRadio<?php echo e($row->id); ?>">
                                                        <img src="<?php echo e(asset($row->image)); ?>" class="smImg " alt="">
                                                        <?php echo e($row->title); ?>

                                                    </label>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </div>

                                </div>
                            </div>
                        </div>
                        <div class="col-lg-6">
                            <div class="box mb-5">
                                <h2 class="sec_title bb fw-bold mb-5">    <?php echo e(__('web.shipping_way')); ?>      </h2>
                                <!-- Shipping -->
                                <div class=" mb-0">
                                    <?php if(count($shippings)): ?>
                                    <div class="checks_box row">
                                        <?php $__currentLoopData = $shippings; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <div class="col">
                                                <div class="form-check mb-3">
                                                    <input class="form-check-input" type="radio" name="shipping_id" value="<?php echo e($row->id); ?>" id="shipRadio<?php echo e($row->id); ?>">
                                                    <label class="form-check-label" for="shipRadio<?php echo e($row->id); ?>">
                                                        <img src="<?php echo e(asset($row->image)); ?>" class="smImg " alt="">
                                                        <?php echo e($row->title); ?>

                                                    </label>
                                                </div>
                                            </div>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </div>
                                    <?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 class="butns d-flex align-items-center justify-content-center">
                        <a href="<?php echo e(route('web.checkout.address')); ?>" class="butn primary_border_butn me-2"> <?php echo e(__('web.back')); ?>  </a>
                        <button type="submit" class="butn primary_butn">
                            <?php echo e(__('web.next')); ?>

                        </button>
                    </div>
                </form>
            </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/electric/resources/views/web/pages/orders/checkout_way.blade.php ENDPATH**/ ?>