<?php $__env->startPush('css'); ?>
    <link rel="stylesheet" href="/site/assets/vendors/simple-datatables/style.css">
<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>
    <div class="table-responsive" style="background: #fff">
        <table id="dataTable" class="table data-table table-striped mb-0">
            <thead>
            <tr>
                <th>Başvuru No</th>
                <th>Ad Soyad</th>
                <th>Telefon Numarası</th>
                <th>İl</th>
                <th>İlçe</th>
                <th>Mahalle</th>
                <th>Sokak</th>
                <th>Bina No</th>
                <th>Kat</th>
                <th>Daire No</th>
                <th>Alabilecek Kişi Sayısı</th>
                <th>Tarih Aralığı</th>
                <th>Ulaşım</th>
                <th>Oda Sayısı</th>
                <th>Metrekare</th>
                <th>Durum</th>
            </tr>
            </thead>
            <tbody>
            <?php $__currentLoopData = $hasHomes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $hasHome): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <tr>
                    <td>#<?php echo e($hasHome->no); ?></td>
                    <td><?php echo e($hasHome->name); ?></td>
                    <td><?php echo e($hasHome->telephone); ?></td>
                    <td><?php echo e($hasHome->getCity->il_adi ?? ''); ?></td>
                    <td><?php echo e($hasHome->getTown->ilce_adi ?? ''); ?></td>
                    <td><?php echo e($hasHome->getDistrict->mahalle_adi ?? ''); ?></td>
                    <td><?php echo e($hasHome->getStreet->sokak_adi ?? ''); ?></td>
                    <td><?php echo e($hasHome->apartment_no); ?></td>
                    <td><?php echo e($hasHome->floor); ?></td>
                    <td><?php echo e($hasHome->apartment); ?></td>
                    <td><?php echo e($hasHome->person_count); ?></td>
                    <td><?php echo e(\Carbon\Carbon::make($hasHome->start_date)->format('d.m.Y') . ' / ' . \Carbon\Carbon::make($hasHome->end_date)->format('d.m.Y')); ?></td>
                    <td><?php echo e($hasHome->car_types); ?></td>
                    <td><?php echo e($hasHome->room_count); ?></td>
                    <td><?php echo e($hasHome->meter); ?></td>
                    <td><?php echo e($hasHome->status == 2 ? 'Bekliyor' : ($hasHome->status == 1 ? 'Tamamlandı' : 'Reddedildi')); ?></td>
                </tr>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?>
    <script src="/site/assets/vendors/simple-datatables/simple-datatables.js"></script>
    <script src="/site/assets/js/bootstrap.min.js"></script>
    <script>
        let dataTable = new simpleDatatables.DataTable("#dataTable");
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.pages.build', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\kardesyuvan\resources\views/admin/pages/evimi_acabilirim.blade.php ENDPATH**/ ?>