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

    <style>
        .yesilborder { border: solid 3px lawngreen;}
    </style>

    <div class="container mt-4">

        <h3><i class="fa fa-check-circle text-success"></i> Size Sunabileceğimiz Seçeneklerimiz</h3>

        <p>Seçtiğiniz tarih aralığı için <b><?php echo e($gun); ?> gün</b> için fiyatlarımız</p>

        <div class="row">


            <?php $__currentLoopData = $arac; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-xl-4 col-lg-6" style="background-size: 100%; background-repeat: no-repeat;">
                    <div class="de-item mb30 <?php if($request->arac==$item->id): ?> yesilborder <?php endif; ?>" style="background-size: 100%; background-repeat: no-repeat;">
                        <div class="d-img" style="background-size: 100%; background-repeat: no-repeat;">
                            <img src="<?php echo e($item->img); ?>" class="img-fluid arac" alt="">
                        </div>
                        <div class="d-info" style="background-size: 100%; background-repeat: no-repeat;">
                            <div class="d-text" style="background-size: 100%; background-repeat: no-repeat;">
                                <h4><?php echo e($item->isim); ?></h4>
                                <div class="d-item_like" style="background-size: 100%; background-repeat: no-repeat;">
                                    <i class="fa fa-heart"></i><span><?php echo e($item->like); ?></span>
                                </div>
                                <div class="d-atr-group" style="background-size: 100%; background-repeat: no-repeat;">
                                    <span class="d-atr"><img src="images/icons/1.svg" alt=""><?php echo e($item->kapi); ?></span>
                                    <span class="d-atr"><img src="images/icons/2.svg" alt=""><?php echo e($item->bagaj); ?></span>
                                    <span class="d-atr"><img src="images/icons/3.svg" alt=""><?php echo e($item->kapi); ?></span>
                                    <span class="d-atr"><img src="images/icons/4.svg" alt=""><?php echo e($item->tip); ?></span>
                                </div>

                                <?php

                                    $carpan=$item->ucret1;
                                    if ($gun>1) $carpan=$item->ucret30;
                                    if ($gun>179) $carpan=$item->ucret180;
                                    if ($gun>359) $carpan=$item->ucret360;

                                    ?>

                                <div class="d-price" style="background-size: 100%; background-repeat: no-repeat;">
                                    <?php echo e($gun); ?> Günlük Ucret <span><?php echo e(number_format($carpan*$gun,2)); ?> <?php echo e($ayar['pb']); ?></span>
                                    <a class="btn-main" href="/kira-rezervasyon?id=<?php echo e($item->id); ?>&alinma=<?php echo e($request->alinma); ?>&birakilma=<?php echo e($request->birakilma); ?>">Şimdi Kirala</a>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        </div>

    </div>



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

<?php echo $__env->make('master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\laragon\www\transferpro2\resources\views/kiralamafiyat.blade.php ENDPATH**/ ?>