<div class="tab-pane fade" id="v-pills-tab2" role="tabpanel" aria-labelledby="v-pills-tab2-tab">
    <div class="tab-wrapper reservations">
        <div class="filtering pt-2 mt-4">
            <h5><?php echo e(__('members.search_filter')); ?></h5>
            <form action="<?php echo e(route('user.reservationSearch')); ?>" method="get" class="search_form">
                <div class="row mt-3">
                    <div class="col-lg-4 col-md-6">
                        <div class="form-group">
                            <label><?php echo e(__('reservations.re_date_from')); ?></label>
                            <input name="re_date_from" class="form-control" type="date">
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-6">
                        <div class="form-group">
                            <label><?php echo e(__('reservations.re_date_to')); ?></label>
                            <input name="re_date_to" class="form-control" type="date">
                        </div>
                    </div>
                    <div class="col-lg-4 col-md-6">
                        <div class="form-group">
                            <label><?php echo e(__('reservations.re_no')); ?></label>
                            <input name="re_no" class="form-control" type="text" placeholder="#12235">
                        </div>
                    </div>
                </div>
            </form>

            <div style="border: 1px solid;" class="col-md-12 mt-5 d-none search_result_container">
                <h4>Search result</h4>
                <div class="search_result_container_body"></div>
            </div>

        </div>
        <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
            <li class="nav-item" role="presentation">
                <a class="nav-link reservation_status active" id="pills-completed-tab" data-toggle="pill" href="#pills-completed" role="tab" aria-controls="pills-completed" aria-selected="true"><?php echo e(__('reservations.confirmed_re')); ?></a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link reservation_status" id="pills-uncertain-tab" data-toggle="pill" href="#pills-uncertain" role="tab" aria-controls="pills-uncertain" aria-selected="false"><?php echo e(__('reservations.unconfirmed_re')); ?></a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link reservation_status" id="pills-pinding-tab" data-toggle="pill" href="#pills-pinding" role="tab" aria-controls="pills-pinding" aria-selected="false"><?php echo e(__('reservations.waiting_for_pay_re')); ?></a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link reservation_status" id="pills-expired-tab" data-toggle="pill" href="#pills-expired" role="tab" aria-controls="pills-expired" aria-selected="false"><?php echo e(__('reservations.finished_re')); ?></a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link reservation_status" id="pills-canceled-tab" data-toggle="pill" href="#pills-canceled" role="tab" aria-controls="pills-canceled" aria-selected="false"><?php echo e(__('reservations.canceled_re')); ?></a>
            </li>
            <li class="nav-item" role="presentation">
                <a class="nav-link reservation_status" id="pills-daily-tab" data-toggle="pill" href="#pills-daily" role="tab" aria-controls="pills-daily" aria-selected="false"><?php echo e(__('reservations.daily_reservations')); ?></a>
            </li>
        </ul>
        <div class="tab-content mt-5" id="pills-tabContent">
            <div class="tab-pane fade show active" id="pills-completed" role="tabpanel" aria-labelledby="pills-completed-tab">
                <?php if(isset($reservations['confirmed']) && count($reservations['confirmed'])): ?>
                    <?php $__currentLoopData = $reservations['confirmed']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $confirm): $__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',$confirm->id)); ?>">
                                        <img src="<?php echo e(asset(json_decode($confirm->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($confirm->hall_name); ?></b></h5>
                                        <span class="num">#<?php echo e($confirm->re_no); ?></span>
                                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($confirm->re_date_from))); ?></p>
                                        <p class="data"><i class="far fa-user"></i> <?php echo e($confirm->person_count); ?> <?php echo e(__('members.persons')); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <h3 class="price center-vr dir-l"><b><?php echo e($confirm->total); ?></b> <small><?php echo e(__('main.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>
                                    <span class="badge badge_completed"><?php echo e(__('reservations.confirmed')); ?></span>
                                </div>
                            </div>
                            <?php if(time() < strtotime($confirm->re_date_from)): ?>
                                <a data-href="<?php echo e(route('reservation.reservationStatusOperation', $confirm->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="alert alert-secondary text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
                <?php endif; ?>
            </div>
            <div class="tab-pane fade" id="pills-uncertain" role="tabpanel" aria-labelledby="pills-uncertain-tab">
                <?php if(isset($reservations['unconfirmed']) && count($reservations['unconfirmed'])): ?>
                    <?php $__currentLoopData = $reservations['unconfirmed']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $unconfirmed): $__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',$unconfirmed->id)); ?>">
                                        <img src="<?php echo e(asset(json_decode($unconfirmed->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($unconfirmed->hall_name); ?></b></h5>
                                        <span class="num">#<?php echo e($unconfirmed->re_no); ?></span>
                                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($unconfirmed->re_date_from))); ?></p>
                                        <p class="data"><i class="far fa-user"></i> <?php echo e($unconfirmed->person_count); ?> <?php echo e(__('members.persons')); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <h3 class="price center-vr dir-l"><b><?php echo e($unconfirmed->total); ?></b> <small><?php echo e(__('main.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>
                                    <span class="badge  badge_uncertain"><?php echo e(__('reservations.unconfirmed')); ?></span>
                                </div>
                            </div>
                            <?php if(time() < strtotime($unconfirmed->re_date_from)): ?>
                                <a data-href="<?php echo e(route('reservation.reservationStatusOperation', $unconfirmed->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="alert alert-secondary text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
                <?php endif; ?>
            </div>
            <div class="tab-pane fade" id="pills-pinding" role="tabpanel" aria-labelledby="pills-pinding-tab">
                <?php if(isset($reservations['waiting_for_pay']) && count($reservations['waiting_for_pay'])): ?>
                    <?php $__currentLoopData = $reservations['waiting_for_pay']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $waiting_for_pay): $__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',$waiting_for_pay->id)); ?>">
                                        <img src="<?php echo e(asset(json_decode($waiting_for_pay->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($waiting_for_pay->hall_name); ?></b></h5>
                                        <span class="num">#<?php echo e($waiting_for_pay->re_no); ?></span>
                                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($waiting_for_pay->re_date_from))); ?></p>
                                        <p class="data"><i class="far fa-user"></i> <?php echo e($waiting_for_pay->person_count); ?> <?php echo e(__('members.person')); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <h3 class="price center-vr dir-l"><b><?php echo e($waiting_for_pay->total); ?></b> <small><?php echo e(__('main.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>
                                    <span class="badge badge_pinding"><?php echo e(__('reservations.waiting_for_pay')); ?></span>
                                </div>
                            </div>
                            <?php if(time() < strtotime($waiting_for_pay->re_date_from)): ?>
                                <a data-href="<?php echo e(route('reservation.reservationStatusOperation', $waiting_for_pay->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="alert alert-secondary text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
                <?php endif; ?>
            </div>
            <div class="tab-pane fade" id="pills-expired" role="tabpanel" aria-labelledby="pills-expired-tab">
                <?php if(isset($reservations['finished']) && count($reservations['finished'])): ?>
                    <?php $__currentLoopData = $reservations['finished']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $finished): $__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',$finished->id)); ?>">
                                        <img src="<?php echo e(asset(json_decode($finished->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($finished->hall_name); ?></b></h5>
                                        <span class="num">#<?php echo e($finished->re_no); ?></span>
                                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($finished->re_date_from))); ?></p>
                                        <p class="data"><i class="far fa-user"></i> <?php echo e($finished->person_count); ?> <?php echo e(__('members.persons')); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <h3 class="price center-vr dir-l"><b><?php echo e($finished->total); ?></b> <small><?php echo e(__('main.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>
                                    <span class="badge badge_expired"><?php echo e(__('reservations.finished')); ?></span>
                                    <?php if(!$finished->is_evaluate): ?>
                                        <button data-hall="<?php echo e($finished->hall_id); ?>" data-reservation="<?php echo e($finished->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>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php else: ?>
                    <div class="alert alert-secondary text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
                <?php endif; ?>
            </div>
            <div class="tab-pane fade" id="pills-canceled" role="tabpanel" aria-labelledby="pills-canceled-tab">
                <?php if(isset($reservations['canceled']) && count($reservations['canceled'])): ?>
                    <?php $__currentLoopData = $reservations['canceled']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $canceled): $__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',$canceled->id)); ?>">
                                        <img src="<?php echo e(asset(json_decode($canceled->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($canceled->hall_name); ?></b></h5>
                                        <span class="num">#<?php echo e($canceled->re_no); ?></span>
                                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($canceled->re_date_from))); ?></p>
                                        <p class="data"><i class="far fa-user"></i> <?php echo e($canceled->person_count); ?> <?php echo e(__('members.persons')); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <h3 class="price center-vr dir-l"><b><?php echo e($canceled->total); ?></b> <small><?php echo e(__('main.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>
                                    <span class="badge badge_canceled"><?php echo e(__('reservations.canceled')); ?></span>
                                </div>
                            </div>
                        </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php else: ?>
                    <div class="alert alert-secondary text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
                <?php endif; ?>
            </div>
            <div class="tab-pane fade" id="pills-daily" role="tabpanel" aria-labelledby="pills-daily-tab">
                <?php if(count($dailyReservations)): ?>
                    <?php $__currentLoopData = $dailyReservations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $daily): $__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',$daily->id)); ?>">
                                        <img src="<?php echo e(asset(json_decode($daily->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($daily->hall_name); ?></b></h5>
                                        <span class="num">#<?php echo e($daily->re_no); ?></span>
                                        <p class="data mt-2 "><i class="far fa-calendar-alt"></i><?php echo e(date('d/m/Y', strtotime($daily->re_date_from))); ?></p>
                                        <p class="data"><i class="far fa-user"></i> <?php echo e($daily->person_count); ?> <?php echo e(__('members.persons')); ?> </p>
                                    </div>
                                </div>
                                <div class="col-lg-3">
                                    <h3 class="price center-vr dir-l"><b><?php echo e($daily->total); ?></b> <small><?php echo e(__('main.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>
                                    <span class="badge badge_daily"><?php echo e(__('reservations.daily')); ?></span>
                                </div>
                            </div>
                            <?php if(time() < strtotime($daily->re_date_from)): ?>
                                <a data-href="<?php echo e(route('reservation.reservationStatusOperation', $daily->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="alert alert-secondary text-center text-danger"><?php echo e(__('members.no_data')); ?></div>
                <?php endif; ?>
            </div>
        </div>
    </div>
</div>

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