


        <div class="row">
        
            <div class="table-responsive" >
                <table class="table">
                    <thead>
                        <tr>
                            <td><b>Customer Name</b></td>
                            <td><b>Mobile</b></td>
                            <td><b>Email</b></td>
                        </tr>
                    </thead>
                    <tbody>
                    
                        <tr>
                            <td><?php echo e($Customer->name); ?></td>
                           <td>  
                                <?php if($Customer->mobile): ?>
                                    <?php echo e($Customer->mobile->mobile); ?>

                                <?php else: ?>
                                    No Mobile Registered    
                                <?php endif; ?>  
                            </td>    
                            <td><?php echo e($Customer->email); ?></td>
                        </tr>
                       
                    </tbody>
                </table>
            </div>
        </div>
        <?php $si=0; ?>
        <?php $__currentLoopData = $Orders; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Order): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="table-responsive" >
        
            <table class="table table-bordered" id="search_tbl">
                <thead class="thead-light">
                    <tr>
                        <th>SLNO.</th>
                        <th>Order No.</th>
                        <th>Status</th>
                        <th>Duration</th> 
                        <th>Order Date</th>
                    </tr>
                </thead>
                <tbody>
                
                    <tr>
                        <td><?php echo e(++$si); ?></td>
                        <td><?php echo e($Order->id); ?></td>
                        <td><?php echo e($Order->status->title); ?></td>
                        <td><?php echo e($Order->duration->title); ?></td>                       
                        <td><?php echo e(date_format(date_create($Order->created_at),'d-m-Y')); ?></td>   
                    </tr>
                    
                    <tr>
                        <td rowspan="2" colspan="5">
                            <table class="table table-sm table-bordered">
                                <thead>
                                    <tr>
                                        <th>Product</th>
                                        <th>Service</th>
                                        <th>Quantity</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <?php $__currentLoopData = $Order->order_products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order_product): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                        <td><?php echo e($order_product->product->title); ?></td>
                                        <td>
                                            <?php $__currentLoopData = $order_product->order_product_services; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $order_service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <span class="badge badge-primary"><?php echo e($order_service->product_service->servicetype->title); ?></span>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </td>
                                        <td><?php echo e($order_product->quantity); ?></td> 
                                    </tr>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
           
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
   

<?php /**PATH D:\washclub\resources\views/CustomerSearch/searchResult.blade.php ENDPATH**/ ?>