+-------------------------------------------------------------------------+ */ include "../../include/session.php"; include "include/tables.php"; include "include/fields.php"; include "include/products.php"; if (!isset($_GET["backurl"])) { $backurl = NULL; } else { $backurl = $_GET["backurl"]; if (isset($_GET["refid"])) { $backurl .= "?refid=" . $_GET["refid"]; } } $thetable = new products($db, "tbld:7a9e87ed-d165-c4a4-d9b9-0a4adc3c5a34", $backurl); $therecord = $thetable->processAddEditPage(); if (isset($therecord["phpbmsStatus"])) { $statusmessage = $therecord["phpbmsStatus"]; } $pageTitle = "Product"; $phpbms->cssIncludes[] = "pages/products.css"; $phpbms->jsIncludes[] = "modules/bms/javascript/product.js"; //Form Elements //============================================================== $theform = new phpbmsForm(); $theform->enctype = "multipart/form-data"; $theinput = new inputCheckbox("inactive", $therecord["inactive"]); $theform->addField($theinput); $theinput = new inputCheckbox("taxable", $therecord["taxable"]); $theform->addField($theinput); $temparray = array("Inventory" => "Inventory", "Non-Inventory" => "Non-Inventory", "Service" => "Service", "Kit" => "Kit", "Assembly" => "Assembly");