<style>
  .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable {
    position: absolute!important;
    height: auto!important;
    width: auto!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: 7px;
}
td{
  padding: 5px;
}
.ui-widget {
   
    font: 400 12px/1.42857143 Roboto,sans-serif!important;
    line-height: 1.6;
}
</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->mat_req_no; ?></th>         
            <th>REQ Date : <?php echo $inw->request_date; ?></th>
            <th>Issues No : <?php echo $inw->issue_no; ?></th>
            <th>Issues 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>Store : <?php echo $inw->store; ?></th>
          </tr>
          <tr class="data_heading">
            <th colspan="2"><strong>Product Name</strong></th>
            <th><strong>REQ Qty</strong></th>
            <th><strong>Issued Qty</strong></th>
            <th><strong>Recieved Qty</strong></th>
            <th colspan="2"><strong>Difference</strong></th>
           </tr>
        </thead>
        <tbody>
          <?php
            $count = 1;
            
            foreach($inward_item as $initem){
            
              ?>
              <tr class="data_list">
                <td colspan="2"><?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 colspan="2"><?php echo $initem->indent_qty - $initem->quantity; ?></td>
               </tr>
              
          <?php $count++; } ?>  
         
        </tbody>
      </table>
      <?php } ?>
      </form>
    </div>