<html>
    <head>
        <title></title>
        <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
        <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
        <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
    </head>
    <body style="margin-top:25px">
        <div class="col-md-12" style="float:left;width:100%">
             <div class="col-md-6" style="float:left;">
                 <img src="<?php echo e(asset('public/img').'/'.$setting->logo); ?>" style="width:100px;height:100px;" />
             </div>
             <div class="col-md-6" style="float:right">
                 <div><?php echo e(__("message.site_name")); ?></div>
                 <div><?php echo e($setting->address); ?></div>
                 <div><?php echo e($setting->email); ?></div>
                 <div><?php echo e($setting->phone); ?></div>
             </div>
        </div>
        
        <div class="col-md-12" style="float: left;margin-top: 10px;width:100%;margin-bottom:15px">
                  <div class="container">
                     
                     <div><b id="username"><?=Auth::user()->name?></b></div>
                     <div id="ordertime"><?php echo e($data->date.' '.$data->time); ?></div>
                     <div>
                         <?php echo e($data->useraddressdetails->house_no); ?>,<?php echo e($data->useraddressdetails->address); ?>

                     </br>
                     <?php echo e($data->useraddressdetails->city); ?>,<?php echo e($data->useraddressdetails->state); ?></br><?php echo e($data->useraddressdetails->pincode); ?>

                     </div>
                     
                  </div>
                  
                  <table class="table" id="itemdata">
                        <thead>
                                <tr>
                                  <th><?php echo e(__("message.Member Info")); ?></th>
                                  <th><?php echo e(__("message.Item Info")); ?></th>
                                  <th><?php echo e(__("message.Price")); ?></th>
                                </tr>
                        </thead> 
                        <tbody>
                             <?php $__currentLoopData = $data->orderdata; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $do): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <tr>
                                       <td>
                                            <?php echo e(isset($do->memberdetails->name)?$do->memberdetails->name:""); ?> | <?php echo e(isset($do->memberdetails->relation)?$do->memberdetails->relation:""); ?> </br>
                                            <?php echo e(isset($do->memberdetails->gender)?$do->memberdetails->gender:""); ?>

                                        </td>
                                      <td>
                                          Name : <?php echo e($do->item_name); ?></br>
                                          Parameters : <?php echo e($do->parameter); ?></br>
                                          MRP : <?php echo e($currency); ?><?php echo e(number_format($do->mrp,2,'.','')); ?></br>
                                          Price : <?php echo e($currency); ?><?php echo e(number_format($do->price,2,'.','')); ?>

                                      </td>
                                      <td><?php echo e($currency); ?><?php echo e(number_format($do->price,2,'.','')); ?></td>
                                    </tr>
                             <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td></td>
                                <th><?php echo e(__("message.Subtotal")); ?></th>
                                <td><?php echo e($currency); ?><?php echo e(number_format($data->subtotal,2,'.','')); ?></td>
                            </tr>
                            <tr>
                                <td></td>
                                <th><?php echo e(__("message.Txt Charges")); ?></th>
                                <td><?php echo e($currency); ?><?php echo e(number_format($data->tax,2,'.','')); ?></td>
                            </tr>
                            <tr>
                                <td></td>
                                <th><?php echo e(__("message.Total")); ?></th>
                                <th><?php echo e($currency); ?><?php echo e(number_format($data->final_total,2,'.','')); ?></th>
                            </tr>
                        </tfoot>
                </table>
               </div>
    </body>
    <script type="text/javascript">
    $(function(){
       window.print();
       setTimeout(window.close, 5000);
    });
</script>
</html><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/front/print.blade.php ENDPATH**/ ?>