<div class="col-md-10"> <table class="table table-hover"> <thead> <tr> <th>OR#</th> <th>Particulars</th> <th>QTY</th> <th>Amount</th> <th>Supplier</th> <th>User</th> <th>Date</th> </tr> </thead> <tbody> <?php if ($ro4->list_retail_inventoryCode() != "") { ?> <?php foreach ($ro4->list_retail_inventoryCode() as $inventoryCode) { ?> <tr> <td> <?php echo $ro->selectNow("inventory", "retail", "inventoryCode", $inventoryCode); ?> </td> <td> <?php if ($ro->selectNow("inventory", "inventoryType", "inventoryCode", $inventoryCode) == "medicine") { ?> <?php