<style>
  .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable {
    position: absolute!important;
    height: auto!important;
    width: 946px!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(!empty($inward)){
             $count =1;
             foreach($inward as $inw)
          ?>
        <table id="" class="table-bordered">
        <thead>
        <tr class="data_details">
			<th>REQ No : <?php echo $inw->pr_req_no; ?></th>
			<th>REQ Date : <?php echo $inw->request_date; ?></th>
			<th>Issue No : <?php echo $inw->issue_no; ?></th>
			<th>Issue Date : <?php echo $inw->issue_date; ?></th>
			<th>RCP No : <?php echo $inw->req_rec_no; ?></th>
			<th>RCP Date : <?php echo $inw->receipt_date; ?></th>
			<th colspan="2">Store Name<?php echo $inw->dept; ?></th>
		</tr>
        <tr class="data_heading">
			<th>Sl.No</th>
			<th>Product Name</th>
			<th>REQ Qty</th>
			<th>Issued Qty</th>
			<th>Recieved Qty</th>
			<th>Rate</th>
			<th>Total Rate</th>
			<th>Difference</th>
		</tr>
        </thead>
        <tbody>
          <?php
            $count = 1;
            
            foreach($inward_item as $initem){
            
              ?>
              <tr class="data_list">
                <td><?php echo $count; ?></td>
					<td><?php echo $initem->item_name; ?></td>
					<td><?php echo $initem->required_qty; ?></td>
					<td><?php echo $initem->issued_qty; ?></td>
					<td><?php echo $initem->quantity; ?></td>
					<td><?php echo $initem->price; ?></td>
					<td><?php echo $initem->total_price; ?></td>
					<td><?php echo $initem->issued_qty - $initem->quantity; ?></td>
               </tr>
              
          <?php $count++; } ?>  
         
        </tbody>
      </table>
      <?php } ?>
      </form>
    </div>