function getOutboundLocation($outboundID) { $db = DB(); $sqlLocationID = $db->get_where('outbound_items_location', array('outbound_id' => $outboundID)); foreach ($sqlLocationID->result_array() as $rsLo) { echo getNameLocation($rsLo['location_id']) . '(' . $rsLo["qty"] . ')</br>'; } }
?> ',this.value,'<?php echo $row_id; ?> ')"/> </td> <td><?php echo $rsItem['product_unit']; ?> </td> <td> <?php if ($rsItem['po_status'] == '1') { $sqlLocation = $db->get_where('inbound_location', array('inbound_id' => $rsItem['inbound_id'])); foreach ($sqlLocation->result_array() as $rsLocation) { echo getNameLocation($rsLocation['location_id']) . '(' . $rsLocation['qty'] . ')</br>'; } } ?> </td> <td> <input id="chk_<?php echo $row_id; ?> " type="checkbox" value="<?php echo $row_id; ?> " <?php if ($product_fefo == 1) { ?> checked <?php