</td> <td><?php echo $arr['po_delivery_date']; ?> </td> <td><?php echo $arr['po_id']; ?> </td> <td> <a href="?page=inbound_items&&poID=<?php echo $arr['po_id']; ?> " class="btn btn-xs btn-primary">ดูรายการสินค้า</a> <?php echo getStatus_PO($arr['status']); ?> </td> </tr> <?php $i++; } ?> </tbody> </table> </div> <script> $(function(){ $('#nav-inbound').parent().addClass('active'); $('#nav-inbound').addClass('in'); $('#inbound_start').addClass('active');
<td></td> <td><?php echo $arr['po_supplier']; ?> </td> <td> <a href="?page=inbound_items_show&date_delivery=<?php echo $date_search; ?> &poID=<?php echo $arr['po_id']; ?> " class="btn btn-xs btn-primary">ดูรายการสินค้า</a> <?php echo getStatus_PO($numStatus['status']); ?> </td> </tr> <?php $i++; } ?> </tbody> </table> </div> <script> $(function(){ $('#nav-inbound').parent().addClass('active'); $('#nav-inbound').addClass('in');
</form> <div class="ibox-title"> <button onclick="history.back();">ย้อนกลับ</button> <?php if ($numStatus == 0) { ?> <button type="button" class="btn btn-w-m btn-primary" style="float:right;" onclick="startInbound();">เริ่มดำเนินการ</button> <?php } else { if (isset($rsStatus['status']) && $rsStatus['status'] == 0) { ?> <button class="btn btn-primary" >ดึงข้อมูล IBP </button> <?php } else { if (isset($rsStatus['status']) && $rsStatus['status'] > 0) { getStatus_PO($rsStatus['status']); } } } ?> <p></p> <table id="table-inbound" class="table table-striped table-bordered table-hover"> <thead> <tr> <th>#</th> <th>กำหนดส่งสินค้า</th> <th>PO Reference No.</th> <th>Receipt Type</th> <th>Supplier No.</th> <!-- <th>Supplier name</th> --> <th>Barcode</th>