Example #1
0
 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,   |
 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY   |
 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT     |
 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE   |
 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.    |
 |                                                                         |
 +-------------------------------------------------------------------------+
*/
include "../../include/session.php";
include "include/tables.php";
include "include/fields.php";
include "include/reports.php";
$thetable = new reports($db, "tbld:d595ef42-db9d-2233-1b9b-11dfd0db9cbb");
$therecord = $thetable->processAddEditPage();
if ($therecord["id"]) {
    $reportSettings = new reportSettings($db, $therecord["uuid"]);
    $reportSettings->get();
}
//endif
if (isset($therecord["phpbmsStatus"])) {
    $statusmessage = $therecord["phpbmsStatus"];
}
$pageTitle = "Report";
$phpbms->cssIncludes[] = "pages/base/reports.css";
$phpbms->jsIncludes[] = "modules/base/javascript/reports.js";
//Form Elements
//==============================================================
$theform = new phpbmsForm(NULL, "post", "record", NULL);
$theform->id = "record";
$theinput = new inputField("name", $therecord["name"], NULL, true, NULL, 32, 64);
$theinput->setAttribute("class", "important");
Example #2
0
 function updateRecord($variables, $modifiedby = NULL, $useUuid = false)
 {
     parent::updateRecord($variables, $modifiedby, $useUuid);
     $reportSettings = new reportSettings($this->db, $variables["uuid"]);
     $reportSettings->save($variables["rsDelList"], $variables["rsUpdates"], $variables["rsAdds"]);
 }