<style>
  .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable {
    position: absolute!important;
    height: auto!important;
    width: 80%!important;
    top: 190px!important;
    left: 274.5px!important;
    z-index: 101!important;
}
.table-bordered, .table-bordered td, .table-bordered th {
    border: 1px solid #626e82;
}
th {
    white-space: break-spaces;
    padding: 5px;
}
td{
  padding: 5px;
}
</style>
<div class="container">
      <form action="" id="invoice_form_validate" class="uk-form-stacked"  method="post" autocomplete="off">
          <?php if(isset($stk_transfer)){ ?>
          <table class="table table-bordered ">
            <thead>
                
				<?php
					foreach($stk_transfer as $tr)
				?>
				
				<tr class="data_details">
					
					
					<th>Stock Transfer No : <?php echo $tr->stk_tr_no; ?></th>					
					<th colspan="2" >Transfer Date : <?php echo $tr->stk_tr_date; ?></th>
					<th colspan="2">Branch Name : <?php echo $tr->to_branchname; ?></th>
				</tr>
				<tr class="data_heading">
					<th><strong>Product Name</strong></th>
					<th><strong>UOM</strong></th>
					<th><strong>Quantity</strong></th>
					<th><strong>Remarks</strong></th>	
				</tr>
            </thead>
            <tbody>
             <?php
			$count=1;
				foreach($stk_transfer_item as $tritem){
			?>
				<tr class="data_list">
					<td><?php echo $tritem->item_name; ?></td>
					<td><?php echo $tritem->uom; ?></td>
					<td><?php echo $tritem->quantity; ?></td>
					<td><?php echo $tritem->remarks; ?></td>
				</tr>
			<?php 
				$count++; 
				} 
			?>
			</tbody>
          </table>
          <?php } ?>
      </form>
    </div>