<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
        <div class="col-xs-12">
    		<div class="invoice-title">
    			<h2>Purchase Order</h2><h3 class="pull-right">Order #000<?php echo $data['Billno'];?></h3>
    		</div>
    		<hr>
    		<div class="row">
    			<div class="col-xs-6">
    				<address>
    				<strong>Billed To:</strong><br>
					<?php echo e($data['ViewPurchase']->cst_name); ?><br>
    					<?php echo e($data['ViewPurchase']->cst_address); ?><br>
    					<?php echo e($data['ViewPurchase']->cst_city); ?><br>
    					<?php echo e($data['ViewPurchase']->cst_state); ?>, <?php echo e($data['ViewPurchase']->cst_country); ?>

    				</address>
    			</div>
    			<div class="col-xs-6 text-right">
    				<address>
        			<strong>Shipped To:</strong><br>
    					<?php echo e($data['CompanyData']->frm_name); ?><br>
    					<?php echo e($data['CompanyData']->frm_address); ?><br>
    					<?php echo e($data['CompanyData']->frm_city); ?><br>
    					<?php echo e($data['CompanyData']->frm_state); ?>, <?php echo e($data['CompanyData']->frm_country); ?></br>
    					PH:<?php echo e($data['CompanyData']->frm_ph1); ?>, <?php echo e($data['CompanyData']->frm_ph2); ?></br>
    					Mail:<?php echo e($data['CompanyData']->frm_email); ?></br>
    				</address>
    			</div>
    		</div>
    		<div class="row">
    			<div class="col-xs-6">
    				<address>
    					<strong>Payment Method:</strong><br>
    					Visa ending **** 4242<br>
    					<?php echo e($data['ViewPurchase']->cst_email); ?>

    				</address>
    			</div>
    			<div class="col-xs-6 text-right">
    				<address>
    					<strong>Order Date:</strong><br>
    					<?php echo e($data['ViewPurchase']->bil_date); ?><br><br>
    				</address>
    			</div>
    		</div>
    	</div>
    </div>
    
    <div class="row">
    	<div class="col-md-12">
    		<div class="panel panel-default">
    			<div class="panel-heading">
    				<h3 class="panel-title"><strong>Order summary</strong></h3>
    			</div>
    			<div class="panel-body">
    				<div class="table-responsive">
    					<table class="table table-condensed">
    						<thead>
                                <tr>
        							<td><strong>Item</strong></td>
        							<td class="text-center"><strong>Quantity</strong></td>
        							<td class="text-right"><strong>Description</strong></td>
                                </tr>
    						</thead>
    						<tbody>
							<?php $sum=0;?>
    							 <?php $__currentLoopData = $data['ViewPurchaseItem']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $Item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
    							<tr>
    								<td><?php echo e($Item->itm_name); ?></td>
    								<td class="text-center"><?php echo e($Item->bit_qty); ?></td>
    								<td class="text-center"><?php echo e($Item->bit_disctype); ?></td>
									
    							</tr>
								<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                
    							
    						</tbody>
    					</table>
    				</div>
    			</div>
    		</div>
    	</div>
    </div>
</div>