<?php include "../../convenienceDB.php"; $username = $_POST['username']; $ro = new convenienceDB(); $ro->coconutDesign(); echo "<Br><br><br>"; $ro->coconutFormStart("post", "addInventory1.php"); $ro->coconutHidden("username", $username); $ro->coconutBoxStart("500", "185"); echo "<br>"; echo "<Table border=0>"; echo "<tr>"; echo "<td>Description</td>"; echo "<td>"; $ro->coconutTextBox("description", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>QTY</td>"; echo "<td>"; $ro->coconutTextBox_short("qty", ""); echo "</td>"; echo "</tr>"; echo "<tr>"; echo "<td>Unitcost</td>"; echo "<td>"; $ro->coconutTextBox_short("unitCost", ""); echo "</td>"; echo "</tr>"; echo "<tr>";
<?php include "../../convenienceDB.php"; $inventoryNo = $_GET['inventoryNo']; $transactionNo = $_GET['transactionNo']; $description = $_GET['description']; $price = $_GET['price']; $username = $_GET['username']; $ro = new convenienceDB(); $ro->coconutDesign(); echo "<br><br><br><br><bR>"; $ro->coconutFormStart("get", "addSales.php"); $ro->coconutHidden("inventoryNo", $inventoryNo); $ro->coconutHidden("transactionNo", $transactionNo); $ro->coconutHidden("description", $description); $ro->coconutHidden("price", $price); $ro->coconutHidden("username", $username); $ro->coconutBoxStart("400", "80"); echo "<br>"; echo "<table border=0>"; echo "<tr>"; echo "<td>QTY </td>"; echo "<td>"; $ro->coconutTextBox_short("qty", "1"); echo "</td>"; echo "</tr>"; echo "</table>"; echo "<br>"; $ro->coconutButton("Proceed"); $ro->coconutBoxStop(); $ro->coconutFormStop();
text-align:center; background-color:white; } .button:hover { background-color:yellow; color:black; } .button1:hover { background-color:yellow; color:black; } </style> <?php echo "<Center><br><br><Br>"; $ro->coconutBoxStart("500", "200"); echo "<Br>"; echo "<form method='post' action='http://" . $ro->getMyUrl() . "/COCONUT/convenience/addInventory.php'>"; $ro->coconutHidden("username", $username); echo "<input type=submit value='Add Inventory' class='button'>"; echo "</form>"; echo "<form method='post' action='http://" . $ro->getMyUrl() . "/COCONUT/convenience/viewInventory.php'>"; $ro->coconutHidden("username", $username); echo "<input type=submit value='View Inventory' class='button'>"; echo "</form>"; $ro->coconutBoxStop();