<style>
  .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-draggable.ui-resizable {
    position: absolute!important;
    height: auto!important;
    width: 78%!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($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>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>
			<th>DC No : <?php echo $inw->invoice_no; ?></th>
          </tr>
          <tr class="data_heading">
            <th colspan="2"><strong>Product Name</strong></th>
            <th><strong>REQ Qty</strong></th>
            <th><strong>RCP Qty</strong></th>
            <th colspan="2"><strong>RCP Remarks</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->quantity; ?></td>
                <td colspan="2"><?php echo $initem->rc_remarks; ?></td>
               </tr>
              
          <?php $count++; } ?>  
         
        </tbody>
      </table>
      <?php } ?>
      </form>
    </div>