

<?php $__env->startSection('css'); ?>
    <style>
        form label{
            color: #343a40 !important;
        }
    </style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
<div class="side-title">
    <h3><?php echo e($head ?? ''); ?></h3>
</div>

<div class="border-item">
    <form class="form-row">

        <div class="card col-lg-12 row">
            <div class="card-header">
                <h5 class="card-title"> <?php echo e(__('bookings.customer_info')); ?> </h5>
            </div>
            <div class="card-body row">
                <div class="form-group col-lg-4">
                    <label><?php echo e(meta('name', $local) ?? __('bookings.name')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->name); ?>'/>
                </div>
                <div class="form-group col-lg-4">
                    <label><?php echo e(meta('phone', $local) ?? __('bookings.phone')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->phone); ?>'/>
                </div>
                <div class="form-group col-lg-4">
                    <label><?php echo e(meta('country_id', $local) ?? __('bookings.country_id')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($country->name); ?>'/>
                </div>
                <div class="form-group col-lg-4">
                    <label><?php echo e(meta('email', $local) ?? __('bookings.email')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->email); ?>'/>
                </div>
                <div class="form-group col-lg-4">
                    <label><?php echo e(meta('agency', $local) ?? __('bookings.agency')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->agency); ?>'/>
                </div>
                <div class="form-group col-lg-4">
                    <label><?php echo e(meta('iata_no', $local) ?? __('bookings.iata_no')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->iata_no); ?>'/>
                </div>
            </div>
        </div>

        <div class="card col-lg-12 row">
            <div class="card-header">
                <h5 class="card-title">
                    <h5 class="card-title"> <?php echo e(__('bookings.hotel_info')); ?> </h5>
                </h5>
            </div>
            <div class="card-body row">

                <?php $__currentLoopData = $cities; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $city): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="form-group col-lg-4">
                        <label><?php echo e(meta('city', $local) ?? __('bookings.city')); ?> </label>
                        <input type="text" class="form-control bg-white" readonly value='<?php echo e($city); ?>'/>
                    </div>
                    <div class="form-group col-lg-4">
                        <label><?php echo e(meta('check_out', $local) ?? __('bookings.check_in')); ?> </label>
                        <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->hotel_data['check_in'][$key]); ?>'/>
                    </div>
                    <div class="form-group col-lg-4">
                        <label><?php echo e(meta('check_out', $local) ?? __('bookings.check_out')); ?> </label>
                        <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->hotel_data['check_out'][$key]); ?>'/>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


            </div>
        </div>

        <div class="card col-lg-12 row">
            <div class="card-header">
                <h5 class="card-title">
                    <h5 class="card-title"> <?php echo e(__('bookings.booking_info')); ?> </h5>
                </h5>
            </div>
            <div class="card-body row">
                <div class="form-group col-lg-12">
                    <label><?php echo e(meta('participants_no', $local) ?? __('bookings.participants_no')); ?> </label>
                    <input type="text" class="form-control bg-white" readonly value='<?php echo e($booking->booking_data['participants_no']); ?>'/>
                </div>
                <?php $__currentLoopData = $booking->booking_data['rooms_type']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $roomType => $RoomNo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <?php if($RoomNo == 0): ?> <?php continue; ?> <?php endif; ?>
                    <div class="form-group col-lg-10">
                        <label><?php echo e(__('bookings.room_type')); ?> </label>
                        <input type="text" class="form-control bg-white" readonly value='<?php echo e(__('bookings.'.$roomType)); ?>'/>
                    </div>
                    <div class="form-group col-lg-2">
                        <label class="d-flex justify-content-center"><?php echo e(__('bookings.room_number')); ?></label>
                        <input type="text" class="form-control bg-white text-center" readonly value='<?php echo e($RoomNo); ?>'/>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </div>

        <div class="card col-lg-12 row">
            <div class="card-header">
                <h5 class="card-title"><?php echo e(__('bookings.other_info')); ?></h5>
            </div>
            <div class="card-body row">
                <?php if(count($quoteCategoriesWithSubCats)): ?>
                    <?php $__currentLoopData = $quoteCategoriesWithSubCats; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $quoteCatName => $quoteCategoriesWithSubCat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="form-group col-lg-12 py-4 shadow">
                        <label><h6><?php echo e($quoteCatName); ?></h6></label>
                        <?php $__currentLoopData = $quoteCategoriesWithSubCat; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $quoteSubCat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <input type="text" class="form-control bg-white mb-1" readonly value='<?php echo e($quoteSubCat->quoteSubCatName); ?>'/>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
                <?php if($booking->notes): ?>
                    <div class="form-group col-lg-12">
                        <label><?php echo e(meta('notes', $local) ?? __('bookings.notes')); ?> </label>
                        <textarea rows="10" class="form-control bg-white" readonly><?php echo e($booking->notes); ?></textarea>
                    </div>
                <?php endif; ?>
                <?php if(!count($quoteCategoriesWithSubCats) && !$booking->notes): ?>
                    <div class="form-group col-lg-12 text-center text-danger font-weight-bold">
                        <?php echo e(__('bookings.no_data')); ?>

                    </div>
                <?php endif; ?>
            </div>
        </div>

        <div class="text-center mt-5 col-12">
            <a href="<?php echo e(route('bookings.index')); ?>" class="butn"><span><?php echo e(__('bookings.head')); ?></span></a>
        </div>
    </form>
</div>

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

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


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




<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/mawada/resources/views/admin/bookings/form.blade.php ENDPATH**/ ?>