<?php if(count($reservations)): ?>
    <?php $__currentLoopData = $reservations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $reservation): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="reservation_item">
            <div class="row">
                <div class="col-lg-3">
                    <a href="<?php echo e(route('reservation.reservationDetails',$reservation->id)); ?>">
                        <img src="<?php echo e(asset(json_decode($reservation->images)[0])); ?>" alt="" class="hall-img">
                    </a>
                </div>
                <div class="col-lg-3">
                    <div class="content">
                        <h5 class="name mb-3"><b><?php echo e($reservation->hall_name); ?></b></h5>
                        <span class="num">#<?php echo e($reservation->re_no); ?></span>
                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($reservation->re_date_from))); ?></p>
                        <p class="data"><i class="far fa-user"></i> <?php echo e($reservation->person_count); ?> أشخاص </p>
                    </div>
                </div>
                <div class="col-lg-3">
                    <h3 class="price center-vr dir-l"><b><?php echo e($reservation->total); ?></b> <small>SAR</small></h3>
                </div>
                <div class="col-lg-3">
                    <div class="prof-info">
                        <img src="<?php echo e(asset($user->photo ?? 'assets/web/images/avatar.png')); ?>" alt="" class="prof_img">
                        <h6 class="name mb-0"><?php echo e($user->name); ?></h6>
                    </div>
                    <?php if($reservation->re_status == 'confirmed'): ?> <span class="badge  badge_completed"><?php echo e(__('reservations.confirmed')); ?></span> <?php endif; ?>
                    <?php if($reservation->re_status == 'unconfirmed'): ?> <span class="badge  badge_uncertain"><?php echo e(__('reservations.unconfirmed')); ?></span> <?php endif; ?>
                    <?php if($reservation->re_status == 'waiting_for_pay'): ?> <span class="badge badge_pinding"><?php echo e(__('reservations.waiting_for_pay')); ?></span> <?php endif; ?>
                    <?php if($reservation->re_status == 'canceled'): ?> <span class="badge badge_canceled"><?php echo e(__('reservations.canceled')); ?></span> <?php endif; ?>
                    <?php if($reservation->re_status == 'finished'): ?> <span class="badge badge_expired"><?php echo e(__('reservations.finished')); ?></span> <?php endif; ?>
                    <?php if($reservation->re_status == 'reject'): ?> <span class="badge badge_canceled"><?php echo e(__('reservations.reject')); ?></span> <?php endif; ?>
                    <?php if($reservation->re_status == 'finished' && !$reservation->is_evaluate): ?>
                        <button data-hall="<?php echo e($reservation->hall_id); ?>" data-reservation="<?php echo e($reservation->id); ?>" data-href="<?php echo e(route('hallEvaluate')); ?>" class="rate-butn evaluate_modal_button"  data-toggle="modal" data-target="#rateModal"><i class="fas fa-star"></i> <?php echo e(__('members.evaluate')); ?></button>
                    <?php endif; ?>
                </div>
            </div>
            <?php if(in_array($reservation->re_status, ['confirmed', 'unconfirmed', 'waiting_approval', 'accept']) && time() < strtotime($reservation->re_date_from)): ?>
                <a data-href="<?php echo e(route('reservation.reservationStatusOperation', $reservation->id)); ?>" class="deleteButton cancel_reservation_button" type="button" data-toggle="modal" data-target="#confirmationModal">
                    <i class="fas fa-times-circle"></i>
                </a>
            <?php endif; ?>
        </div>

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

    <?php else: ?>

    <div class="reservation_item">
        <div class="row">
            <div class="col-lg-12 text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
        </div>
    </div>

<?php endif; ?>
<?php /**PATH C:\wamp64\www\meet\resources\views/web/members/users/reservation_search.blade.php ENDPATH**/ ?>