<td> <span class="details<?php echo $inventoryCode; ?> "><?php echo $ro1->selectNow("inventory", "genericName", "inventoryCode", $inventoryCode); ?> </span></td> <?php } ?> <td> <?php echo $ro1->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode); ?> </td> <td> <?php echo $ro->number_format($ro1->selectNow("inventory", "unitcost", "inventoryCode", $inventoryCode)); ?> </td> <td> <?php echo $ro->number_format($ro1->selectNow("inventory", "ipdPrice", "inventoryCode", $inventoryCode)); ?> </td> <td> <?php echo $ro->number_format($ro1->selectNow("inventory", "opdPrice", "inventoryCode", $inventoryCode)); ?> </td> <td><button type="button" class="btn btn-success" data-toggle="modal" data-target="#updateModal<?php echo $inventoryCode; ?> ">Update</button></td> <td><button type="button" class="btn btn-danger" data-toggle="modal" data-target="#removeModal<?php
?> "> <?php echo $ro->selectNow("inventory", "description", "inventoryCode", $inventoryCode); ?> </span> </td> <?php } ?> <td> <?php echo $ro->selectNow("inventory", "quantity", "inventoryCode", $inventoryCode); ?> </td> <td> <?php echo $ro4->number_format($ro->selectNow("inventory", "suppliesUNITCOST", "inventoryCode", $inventoryCode)); ?> </td> <td> <?php echo $ro4->number_format($ro->selectNow("inventory", "unitcost", "inventoryCode", $inventoryCode)); ?> </td> <td><input type="button" class="btn btn-success" data-toggle="modal" data-target="#updateModal<?php echo $inventoryCode; ?> " value="Update"></td> <td><input type="button" class="btn btn-danger" data-toggle="modal" data-target="#removeModal<?php echo $inventoryCode; ?> " value="Remove"></td> </tr>