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

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

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- Add rows table -->
<?php
$statuses = Config::get('params.statuses');
?>
<section id="add-row">


    <div class="card">
        <div class="card-header">
            <h4 class="card-title"><a href="<?php echo e(url('admin/enquire')); ?>" class=" mr-1 btn-icon btn btn-primary btn-round btn-sm"><i class="feather icon-arrow-left"></i></a> <?php echo e($title); ?></h4>
        </div>
        <div class="card-content">
            <div class="card-body">

                <div class="row">
                    <div class="col-sm-12">

                        <table class="table table-bordered">
                            <tbody>
                                <tr>
                                    <td>Name :</td>
                                    <td><?php echo e($model->name); ?></td>
                                </tr>
                               <tr>
                                    <td>Email :</td>
                                    <td><?php echo e($model->email); ?></td>
                                </tr>
                                <tr>
                                    <td>Phone Number</td>
                                    <td><?php echo e($model->phone); ?></td>

                                </tr>
                                <tr>
                                    <td>Type</td>
                                    <td><?php echo e($model->type); ?></td>

                                </tr>
                                <tr>
                                    <td>Message</td>
                                    <td><?php echo e($model->message); ?></td>

                                </tr>
                                <tr>
                                    <td>Status</td>
                                    <td><?php echo e($statuses[$model->status]); ?></td>
                                </tr>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>
   

</section>
<!--<?php if($model->type=="tour"): ?>
<section id="add-row">
    <div class="card">
        <div class="card-header">
            <h4 class="card-title"><?php echo e(ucwords($model->type)); ?></h4>
        </div>
        <div class="card-content">
            <div class="card-body">

                <div class="row">
                    <div class="col-sm-12">

                        <table class="table table-bordered">
                            <tbody>
                                <tr>
                                    <td>Title :</td>
                                    <td><?php echo e($detail->title); ?></td>
                                </tr>
                               <tr>
                                    <td>City :</td>
                                    <td><?php echo e($detail->city); ?></td>
                                </tr>
                                <tr>
                                    <td>Price</td>
                                    <td><?php echo e($detail->price); ?></td>

                                </tr>
                                <tr>
                                    <td>Persons</td>
                                    <td><?php echo e($detail->persons); ?></td>

                                </tr>
                                <tr>
                                   <?php if($detail->image): ?>

                                    <td>Image</td>
                                    <td> <img width='40' height="40" src="<?php echo e(url(Config("params.media_path.thumbnail")).'/'.$detail->image); ?>" width="60px"></td>
                                   <?php endif; ?>
                                </tr>
                               <tr>
                                    <td>More Information</td>
                                    <td><a href="<?php echo e(url('tour/'.$detail->key)); ?>">click here</a></td>

                                </tr>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>
   

</section>
<?php endif; ?>
<?php if($model->type=="hotel"): ?>
<section id="add-row">
    <div class="card">
        <div class="card-header">
            <h4 class="card-title"><?php echo e(ucwords($model->type)); ?></h4>
        </div>
        <div class="card-content">
            <div class="card-body">

                <div class="row">
                    <div class="col-sm-12">

                        <table class="table table-bordered">
                            <tbody>
                                <tr>
                                    <td>Title :</td>
                                    <td><?php echo e($detail->title); ?></td>
                                </tr>
                                <tr>
                                    <td>Email :</td>
                                    <td><?php echo e($detail->email); ?></td>
                                </tr>
                               <tr>
                                    <td>Address :</td>
                                    <td><?php echo e($detail->address1); ?><?php echo e($detail->address2); ?></td>
                                </tr>
                                <tr>
                                    <td>Phone</td>
                                    <td><?php echo e($detail->phone1); ?></td>

                                </tr>
                                <tr>
                                    <td>Persons</td>
                                    <td><?php echo e($detail->guests); ?></td>

                                </tr>
                                <tr>
                                    <td>Bed</td>
                                    <td><?php echo e($detail->beds); ?></td>

                                </tr>
                                                                <tr>
                                    <td>Bathroom</td>
                                    <td><?php echo e($detail->bathrooms); ?></td>

                                </tr>
                                <?php if($detail->image): ?>
                                <tr>
                                    <td>Image</td>
                                    <td> <img width='40' height="40" src="<?php echo e(url(Config("params.media_path.thumbnail")).'/'.$detail->image); ?>" width="60px"></td>

                                </tr>
                              <?php endif; ?>
                              <tr>
                                    <td>More Information</td>
                                    <td><a href="<?php echo e(url('hotel/'.$detail->key)); ?>">click here</a></td>

                                </tr>
                            </tbody>
                        </table>

                    </div>
                </div>
            </div>
        </div>
    </div>
   

</section>
<?php endif; ?>-->
<!--/ Add rows table -->
<!--/ Scroll - horizontal and vertical table -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('vendor_script', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->startSection('myscript'); ?>

<script>
$( document ).ready(function() {
     $("#data").hide();
     $("#previewdata").hide();
     
$("#hide").click(function(){
   $("#data").toggle();
    $(this).toggleClass('class1')
 
});
$("#previewclick").click(function(){
   $("#previewdata").toggle();
    $(this).toggleClass('class1')
 
});


});

</script>
<script>
        CKEDITOR.config.allowedContent = true;

    CKEDITOR.replace( 'summary-ckeditor' );
</script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin/layouts/contentLayoutMaster', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/seolocaj/public_html/homefloltd/resources/views/admin/enquire/show.blade.php ENDPATH**/ ?>